Skip to content

EyoelYT/Topper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

TOPPER

topper is a tiny C++ console application for Windows that lets you search, filter and interactively select any top-level window by title, then toggle its “always-on-top” (WS_EX_TOPMOST) state. It’s perfect for anyone who wants a quick keyboard-driven way to pin/unpin windows without touching the mouse or hunting through window menus.

Requirements

This program is intended to work only on the Windows Operating System.

Build

Use Developer Command Prompt for VS 22 console to build the project, which can be installed using the Visual Studio Installer.

To build, use this command from the root directory:

.\build.bat

To build and run, use this command from the root directory:

.\build.bat && .\topper.exe

Usage

Copy the executable, pin it to Start, or add it into your $PATH to access it from anywhere.

Toggle Windows on Top (--twot)

--twot stands for "toggle window on top". Just topper would also invoke the same command.

Toggle windows on top in this way:

topper --twot
  • Use the up and down arrow keys to choose between windows.
  • Enter characters to narrow down windows.
  • Press Enter to choose a window to toggle.
  • Press Escape to exit without doing anything.

Help menu (--help)

topper --help

Acknowledgements

This project was inspired by PowerToys' Window on Top Feature, and is meant to be a very lightweight TUI version.

About

A Simple TUI menu to toggle the Always-on-Top status of Windows

Resources

Stars

Watchers

Forks