Intelligent, multi-monitor window management and workspace restoration for Windows.
Download Executable • Key Features • UI Preview • CLI Usage • How It Works • Build Guide
Crypto90's Workspace Manager solves a universal workspace frustration: every time your PC reboots, monitors wake from sleep, or applications update, your windows scatter across screens.
With Workspace Manager, your ideal desktop layouts are saved into distinct presets (up to 10). When triggered—either automatically on system boot or with a single click—it scans all connected displays, ensures missing applications are automatically started, and smoothly arranges every window into its exact coordinates, dimensions, and state (including true maximized windows).
End-users do not need Python installed. Standalone Windows binaries are automatically compiled via GitHub Actions:
| Version | Asset | Direct Download | Platform |
|---|---|---|---|
| v0.2.2 (Latest) | Crypto90s_WorkspaceManager.exe |
⬇️ Download v0.2.2 Executable | Windows 10 / 11 (64-bit) |
📁 Check all versions and release notes in GitHub Releases.
| Per-Monitor V2 High-DPI awareness prevents coordinate distortion or off-screen jumping across mixed-scaling displays (e.g. 4K at 150% + 1080p at 100%). | Window ordering and launching run on a dedicated background worker thread with real-time timestamped logs and a responsive Stop / Cancel button. Zero (Not Responding) GUI freezes. |
| Detects closed applications saved in your preset and launches them automatically before arranging. Supports relocation detection for updated apps (e.g. Chrome, Discord). |
Accurately restores true maximized (SW_MAXIMIZE) and minimized states without window border bleed or flicker.
|
Human-readable, easily editable workspace_states_X.json format. Includes automatic, lossless migration from legacy WindowManager presets.
|
Personalize your presets with custom labels (e.g., "1: Work / Dev", "2: Gaming", "3: Trading") directly through the interface. |
Run window management silently in the background with --silent—perfect for Windows Task Scheduler or automated startup scripts.
|
Resolves AppUserModelId (AUMID) to reliably start Windows Store and UWP applications (e.g., Spotify, Calculator, Terminal). |
Workspace Manager includes a flexible command-line interface for automation and shortcuts:
# Launch GUI and load a specific preset (1-10)
python Crypto90s_WorkspaceManager.py --preset 2
# Headless / Silent Execution (arranges windows in background and exits without GUI)
python Crypto90s_WorkspaceManager.py --preset 1 --silent
# Display version information
python Crypto90s_WorkspaceManager.py --version
# View all command line options
python Crypto90s_WorkspaceManager.py --help| Flag | Argument | Description |
|---|---|---|
--preset |
1-10 |
Specifies which preset to load on launch (defaults to 1). |
--silent, --headless |
None | Runs ordering in the background without creating a GUI window. |
--version |
None | Displays current software version. |
-h, --help |
None | Prints CLI help and usage instructions. |
flowchart TD
A["Launch Workspace Manager"] --> B{"Check CLI Mode"}
B -->|--silent| C["Run Headless Worker"]
B -->|Normal| D["Open GUI & Mount Controls"]
D --> E["Load Preset (JSON / Legacy Auto-Migration)"]
E --> F["Snapshot Running Processes & Displays"]
F --> G["Render Window Mapping List"]
G --> H["Trigger 'Start, Resize & Order'"]
C --> H
H --> I["Start Dedicated Worker Thread"]
I --> J["Launch Any Closed Applications"]
J --> K["Poll Displays for Matching Handles"]
K --> L["Apply Coordinates, Dimensions & Maximized States"]
L --> M{"Auto-Close Enabled?"}
M -->|Yes| N["Countdown & Exit"]
M -->|No| O["Ready for Next Action"]
- Python 3.8+ (Windows 10 or 11 recommended)
- Git
git clone https://github.com/Crypto90/WindowManager.git
cd WindowManager
pip install -r requirements.txtpython Crypto90s_WorkspaceManager.pyYou can compile a standalone .exe using PyInstaller:
Option A (One-Click Script on Windows):
Double-click build_exe.bat in the repository root.
Option B (Manual Command):
pyinstaller --onefile --noconsole --name "Crypto90s_WorkspaceManager" Crypto90s_WorkspaceManager.pyThe compiled binary will be located in the dist/ directory:
dist/Crypto90s_WorkspaceManager.exe
Preset configurations are stored as clean, structured JSON files:
- Portable location: Next to the executable/script if writable (
workspace_states_1.json, etc.). - System fallback:
%LOCALAPPDATA%\Crypto90s_WorkspaceManager\if running from a protected directory.
{
"version": "v0.2.1",
"workspace_states": {
"chrome.exe": {
"process_name": "chrome.exe",
"window_title": "GitHub - Crypto90/WindowManager",
"position": [0, 0],
"size": [1920, 1080],
"process_path": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"minimized": false,
"maximized": true,
"launcher_override": null,
"is_uwp": false,
"uwp_app_id": null
}
},
"config": {
"auto_close": false,
"preset_names": {
"1": "Development & Research"
}
}
}Contributions, issues, and feature requests are welcome!
- Fork the project.
- Create your feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
If Crypto90's Workspace Manager saves you time and organizes your daily workspace, consider supporting the project:
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
