From 8aafd5c9b932fc82f3e8e8f668c8fe27ef30fd31 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sun, 23 Aug 2026 10:52:42 +0200 Subject: [PATCH] fix resize --- dotfiles/hypr-desk/source/binds.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/hypr-desk/source/binds.lua b/dotfiles/hypr-desk/source/binds.lua index 5b76ba4..ce9674f 100644 --- a/dotfiles/hypr-desk/source/binds.lua +++ b/dotfiles/hypr-desk/source/binds.lua @@ -48,10 +48,10 @@ hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true }) hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true }) -- Resize Windows -hl.bind(mainMod .. " + CTRL + h", hl.dsp.window.resize({ x = -20 , y = 0 })) -hl.bind(mainMod .. " + CTRL + l", hl.dsp.window.resize({ x = 20 , y = 0 })) -hl.bind(mainMod .. " + CTRL + k", hl.dsp.window.resize({ x = 0 , y = -20})) -hl.bind(mainMod .. " + CTRL + j", hl.dsp.window.resize({ x = 0 , y = 20 })) +hl.bind(mainMod .. " + CTRL + h", hl.dsp.window.resize({ x = -20 , y = 0 , relative = true })) +hl.bind(mainMod .. " + CTRL + l", hl.dsp.window.resize({ x = 20 , y = 0 , relative = true })) +hl.bind(mainMod .. " + CTRL + k", hl.dsp.window.resize({ x = 0 , y = -20 , relative = true })) +hl.bind(mainMod .. " + CTRL + j", hl.dsp.window.resize({ x = 0 , y = 20 , relative = true })) -- Set default workspace hl.workspace_rule({workspace = "1", monitor = "DP-1", default = true})