adds resize keybinds to hyprland

This commit is contained in:
2026-05-17 11:44:00 +02:00
parent 75675af8d1
commit 8a84647ccd
+5
View File
@@ -30,6 +30,11 @@ hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.move({ workspace = "e-1" })
hl.bind(mainMod .. " + SHIFT + up", hl.dsp.window.move({ workspace = 2 }))
hl.bind(mainMod .. " + SHIFT + down", hl.dsp.window.move({ workspace = 4 }))
hl.bind(mainMod .. " + CTRL + left", hl.dsp.window.resize({x = -100, y = 0, relative = true}))
hl.bind(mainMod .. " + CTRL + right", hl.dsp.window.resize({x = 100, y = 0, relative = true}))
hl.bind(mainMod .. " + CTRL + up", hl.dsp.window.resize({x = 0, y = 100, relative = true}))
hl.bind(mainMod .. " + CTRL + down", hl.dsp.window.resize({x = 0, y = -100, relative = true}))
-- Switch workspaces with mainMod + [0-9]
hl.bind(mainMod .. " + 1", hl.dsp.focus({ workspace = 1 }))
hl.bind(mainMod .. " + 2", hl.dsp.focus({ workspace = 2 }))