diff --git a/config/hypr/hyprland/binds/window.lua b/config/hypr/hyprland/binds/window.lua index 56ad2a4..b0cc4a3 100644 --- a/config/hypr/hyprland/binds/window.lua +++ b/config/hypr/hyprland/binds/window.lua @@ -42,10 +42,10 @@ hl.define_submap("window", function() end, { description = "Activate insta-kill" }) -- Resize - hl.bind("l", hl.dsp.window.resize({ x = 10, y = 0 }), { description = "Increase size horizontally" }) - hl.bind("h", hl.dsp.window.resize({ x = -10, y = 0 }), { description = "Decrease size horizontally" }) - hl.bind("j", hl.dsp.window.resize({ x = 0, y = 10 }), { description = "Increase size vertically" }) - hl.bind("k", hl.dsp.window.resize({ x = 0, y = -10 }), { description = "Decrease size vertically" }) + hl.bind("l", hl.dsp.window.resize({ x = 10, y = 0, relative = true }), { description = "Increase size horizontally" }) + hl.bind("h", hl.dsp.window.resize({ x = -10, y = 0, relative = true }), { description = "Decrease size horizontally" }) + hl.bind("j", hl.dsp.window.resize({ x = 0, y = 10, relative = true }), { description = "Increase size vertically" }) + hl.bind("k", hl.dsp.window.resize({ x = 0, y = -10, relative = true }), { description = "Decrease size vertically" }) hl.bind("Escape", function() exit_submap()