Small X11 utility for saving and restoring window positions, sizes, workspaces, and maximize state.
curl -fsSL https://raw.githubusercontent.com/TyrelCB/window-layout-util/main/install.sh | shThe installer:
- installs
window-layoutinto~/.local/bin - creates helper commands
wl-save,wl-restore,wl-list, andwl-path - adds
~/.local/binto~/.bashrcif needed
bashjqxdotoolxpropbase64- X11 session
window-layout save workday
window-layout restore workday
window-layout restore --dry-run workday
window-layout list
window-layout path workday
wl-save workday
wl-restore workday
wl-list
wl-path workdaySaved layouts default to:
~/.local/state/window-layouts/
- Matching prefers the original X11 window id, then falls back to class and title.
- Layouts include windows across workspaces and restore them to their saved workspace when possible.
- Restore works best for floating/manual windows.
- If Pop Shell auto-tiling is active, it can override manual geometry. Temporarily toggle tiling off with
Super+Ybefore restoring if needed.