hyprland: SUPER+Right creates a new workspace past the end of a monitor

m+1/m-1 only cycle existing workspaces on the active monitor and wrap at
the edges, so SUPER+Right never created a workspace. Replace them with a
Lua helper: advancing past the last workspace on the monitor now creates
a fresh (empty) workspace there; going before the first wraps to the
monitor's last workspace.
This commit is contained in:
2026-09-07 18:26:27 -06:00
parent b148fcc256
commit f60b7e263b
2 changed files with 39 additions and 7 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ hl.config({
hl.config({
binds = {
-- Let SUPER+Left/Right (and scroll) wrap around instead of stopping at the
-- edge when cycling workspaces on the active monitor.
-- Let SUPER+scroll workspace cycling wrap around instead of stopping at
-- the edges. (SUPER+Left/Right wrapping is handled directly in binds.lua.)
allow_workspace_cycles = true,
},
})