Control the active window with a single shortcut
A tiny Windows app (WinForms, .NET 9) that lives in the system tray and helps you center, maximize, and snap the active window to halves. Configurable global hotkeys and autostart.
Windows 10/11, .NET SDK 9.0 if you build from source
What Winnic does
Centering
Instantly centers the active window within the monitor work area.
Maximizing
Expands the active window to full screen.
Restore
Saves and restores the previous position and size of the active window.
Snap to halves
Quickly snap the window to left/right and top/bottom halves of the screen.
Global hotkeys
Registers global shortcuts via WinAPI with conflict handling.
Autostart
Toggle autostart via HKCU\\...\\Run
registry key.
Minimize
Quickly minimize the active window to the taskbar.
Restore last minimized
Bring back the last minimized window to its previous state.
Close window
Close the current active window using a global shortcut.
Default hotkeys
Ctrl + Alt + C
Ctrl + Alt + Enter
Ctrl + Alt + Backspace
Ctrl + Alt + Left
Ctrl + Alt + Right
Ctrl + Alt + Up
Ctrl + Alt + Down
Ctrl + Alt + W
Ctrl + Alt + E
Ctrl + Alt + Q
Modifiers can be changed in Settings. If registration conflicts, a notification is shown.
Get started
- Download a build from Releases.
- Run the app — the tray icon will appear.
- Open "Settings…" to configure hotkeys and autostart.
Build from source
dotnet build -c Release
dotnet run -c Release
dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true
Requires .NET SDK 9.0 (Windows), target net9.0-windows
.
Tech and architecture
- WinForms, .NET 9, P/Invoke to
user32.dll
. - Tray icon, context menu, hotkey registration, settings window.
- JSON settings in
%LocalAppData%/Winnic/settings.json
.