A lightweight i3-style workspace manager for Windows, built with AutoHotkey v2 and Virtual Desktop Accessor.
It replaces the default Windows desktop switching behavior with a fast, keyboard-driven system inspired by tiling window managers like i3wm or Hyprland.
- Instant switching between 1–9 virtual desktops
- Next and previous desktop navigation
- Go to last visited desktop (back/forward style switching)
- Move active windows between desktops
- Debug HUD / popup feedback system
- Direct integration with Windows Virtual Desktops via DLL
git clone https://github.com/yourname/win-desktop-manager
Open main.ahk with AutoHotkey v2.
- Create a shortcut of
main.ahk - Copy that shortcut to the startup directory. (Enter
shell:startupin windows explorer search bar orC:\Users\<USER>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
| Shortcut | Action |
|---|---|
Win + 1–9 |
Switch to desktop 1–9 |
Shift + Win + 1–9 |
Move active window to desktop |
Win + WheelUp |
Previous desktop |
Win + WheelDown |
Next desktop |
Win + Tab |
Last visited desktop |
Win + 0 |
Toggle debug mode |
Toggle debug mode with Win + 0
When enabled, the system shows additional popup diagnostics when changing desktops.
- Current active desktop
- Desktop history stack
win-desktop-manager/
├─ main.ahk
├─ README.md
│
├─ core/
│ ├─ desktop_manager.ahk
│ ├─ gui/
│ │ └─ popup.ahk
│ └─ utils/
│ └─ string_utils.ahk
│
└─ lib/
└─ VirtualDesktopAccessor.dll
It's also strongly recommended to disable windows animations in Accessibility settings (Windows 11) for a much better experience, since the desktop switching will be much faster:
- Open Settings
- Go to:
Accessibility → Visual effects - Turn OFF:
Animation effects
Before executing the script, create the desired number of virtual desktops by pressing Win + Tab.
You could optionally name the desktops numbered sequentially (1–9) for a better view.

