Skip to content

AlexandrosLiaskos/window-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Window Manager

Window Manager

A lightweight, single-focus window manager for Windows 11.
Only one window visible at a time — distraction-free productivity.

Download Installer

latest release version


Features

  • 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
image

Installation

Download Installer

  1. Click the Download Installer button above
  2. Run WindowManager-X.X.X-Setup.exe
  3. Follow the installation wizard
  4. Launch from Start Menu

Build from Source

git clone https://github.com/AlexandrosLiaskos/window-manager.git
cd window-manager
cargo build --release
.\target\release\window-manager.exe

Usage

Getting Started

  1. Launch Window Manager from Start Menu
  2. Select "Monocle" mode and press Enter
  3. Switch between windows using Alt+Tab or clicking

How It Works

  • 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

Hotkeys

Hotkey Action
Alt+Shift+M Toggle window manager on/off

System Tray

Right-click the tray icon for options:

  • Enable/Disable - Toggle window management
  • Exit - Close the application

Configuration

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"]

Building the Installer

Requirements:

cd installer
.\build.ps1

Output: target\installer\WindowManager-X.X.X-Setup.exe

Architecture

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

Roadmap

  • Monocle mode (single focus)
  • Tiling mode (grid layout)
  • Floating mode (traditional)
  • Per-monitor support
  • Window animations

License

MIT License - see LICENSE for details.

Contributing

Contributions welcome! Please open an issue or pull request.

About

A lightweight, single-focus window manager for Windows 11

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors