A lightweight, single-focus window manager for Windows 11.
Only one window visible at a time — distraction-free productivity.
- Single Focus Mode - Only one window visible at a time
- Centered Windows - Active window centered at configurable size (default 95%)
- Automatic Management - Windows are managed as you switch to them
- System Tray - Runs quietly in the background
- Lightweight - ~2MB, no runtime dependencies
- DPI Aware - Crisp text on high-resolution displays
- Click the Download Installer button above
- Run
WindowManager-X.X.X-Setup.exe - Follow the installation wizard
- Launch from Start Menu
git clone https://github.com/AlexandrosLiaskos/window-manager.git
cd window-manager
cargo build --release
.\target\release\window-manager.exe- Launch Window Manager from Start Menu
- Select "Monocle" mode and press Enter
- Switch between windows using Alt+Tab or clicking
- When you switch to a window, it becomes the focused window
- All other managed windows are minimized
- The focused window is centered at 95% of screen size
| Hotkey | Action |
|---|---|
Alt+Shift+M |
Toggle window manager on/off |
Right-click the tray icon for options:
- Enable/Disable - Toggle window management
- Exit - Close the application
Edit config.toml in the installation directory:
[general]
# Window size as percentage of screen (10-100%)
window_size = 95
# Start enabled
enabled = true
[hotkeys]
# Toggle window manager ON/OFF
toggle_enabled = "Alt+Shift+M"
[exclusions]
# Window classes to ignore
classes = ["Shell_TrayWnd", "Progman"]
# Window titles to ignore (substring match)
titles = ["Program Manager"]Requirements:
- Rust toolchain
- Inno Setup 6
cd installer
.\build.ps1Output: target\installer\WindowManager-X.X.X-Setup.exe
src/
├── main.rs # Entry point, message loop
├── config.rs # TOML configuration
├── manager.rs # Window management logic
├── window.rs # Window operations
├── positioning.rs # Screen calculations
├── hooks.rs # Windows event hooks
├── hotkeys.rs # Global hotkey registration
├── splash.rs # Mode selection UI
├── tray.rs # System tray icon
└── mode.rs # Window mode definitions
- Monocle mode (single focus)
- Tiling mode (grid layout)
- Floating mode (traditional)
- Per-monitor support
- Window animations
MIT License - see LICENSE for details.
Contributions welcome! Please open an issue or pull request.