Add power to save/restore window widths on a per-app/per-workspace basis with Super + Home and Super + Alt + Home

This commit is contained in:
David Heinemeier Hansson
2026-05-23 13:37:57 +02:00
parent 5fc4921cfc
commit e65246642d
2 changed files with 170 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@ o.bind("SUPER + F", "Full screen", hl.dsp.window.fullscreen({ mode = "fullscreen
o.bind("SUPER + CTRL + F", "Tiled full screen", hl.dsp.window.fullscreen_state({ internal = 0, client = 2 }))
o.bind("SUPER + ALT + F", "Full width", hl.dsp.window.fullscreen({ mode = "maximized" }))
o.bind("SUPER + O", "Pop window out (float & pin)", "omarchy-hyprland-window-pop")
o.bind("SUPER + ALT + Home", "Save window width", "omarchy-hyprland-window-width save")
o.bind("SUPER + Home", "Restore window width", "omarchy-hyprland-window-width restore")
o.bind("SUPER + L", "Toggle workspace layout", "omarchy-hyprland-workspace-layout-toggle")
o.bind("SUPER + LEFT", "Focus on left window", hl.dsp.focus({ direction = "l" }))