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

Winnic Settings window screenshot

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

CenterCtrl + Alt + C
MaximizeCtrl + Alt + Enter
RestoreCtrl + Alt + Backspace
Left halfCtrl + Alt + Left
Right halfCtrl + Alt + Right
Top halfCtrl + Alt + Up
Bottom halfCtrl + Alt + Down
MinimizeCtrl + Alt + W
Restore last minimizedCtrl + Alt + E
Close windowCtrl + Alt + Q

Modifiers can be changed in Settings. If registration conflicts, a notification is shown.

Get started

  1. Download a build from Releases.
  2. Run the app — the tray icon will appear.
  3. 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.
Open on GitHub