Skip to content

ts-kim/RectangleWin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RectangleWin

A lightweight Windows window manager inspired by Rectangle for macOS.

Snap windows to halves, quarters, or center using simple keyboard shortcuts — no mouse needed.

Keyboard Shortcuts

All shortcuts use Ctrl + Alt as the modifier.

Shortcut Action
Ctrl+Alt+← Left half
Ctrl+Alt+→ Right half
Ctrl+Alt+↑ Top half
Ctrl+Alt+↓ Bottom half
Ctrl+Alt+U Top-left quarter
Ctrl+Alt+I Top-right quarter
Ctrl+Alt+J Bottom-left quarter
Ctrl+Alt+K Bottom-right quarter
Ctrl+Alt+Enter Maximize
Ctrl+Alt+C Center

Why Ctrl+Alt?

The original Rectangle on macOS uses Control + Option (⌃⌥) as its modifier. On a Mac keyboard, the bottom row goes Control, Option, Command — so the modifier is just two adjacent keys.

I use PowerToys Keyboard Manager to remap my bottom-row keys to Ctrl, Alt, Ctrl (left to right), matching the Mac layout. This makes Ctrl+Alt combos feel just as natural as on macOS — two adjacent keys with one hand.

Features

  • System tray icon with right-click menu
  • Auto-start with Windows (toggle via tray menu)
  • Multi-monitor support (snaps to the monitor the window is on)
  • Single instance — prevents duplicate processes

Requirements

Build & Run

dotnet run --project RectangleWin

Or build a standalone executable:

dotnet publish RectangleWin -c Release -r win-x64 --self-contained

License

MIT

About

A lightweight Windows window manager inspired by Rectangle for macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages