From 12e3fd6b749edde5fd037e79ac004e4e858f571f Mon Sep 17 00:00:00 2001 From: pablu Date: Sun, 17 May 2026 01:49:44 +0200 Subject: update hyprland --- dot_config/hypr/config/binds.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dot_config/hypr/config/binds.lua') diff --git a/dot_config/hypr/config/binds.lua b/dot_config/hypr/config/binds.lua index e223136..116aceb 100644 --- a/dot_config/hypr/config/binds.lua +++ b/dot_config/hypr/config/binds.lua @@ -25,10 +25,10 @@ hl.bind(mainMod .. " + SHIFT + L", hl.dsp.window.move({ direction = "right" })) hl.bind(mainMod .. " + SHIFT + J", hl.dsp.window.move({ direction = "down" })) hl.bind(mainMod .. " + SHIFT + K", hl.dsp.window.move({ direction = "up" })) -hl.bind(mainMod .. " + CTRL + H", hl.dsp.window.resize({ x = -10, y = 0 }), { repeating = true }) -hl.bind(mainMod .. " + CTRL + L", hl.dsp.window.resize({ x = 10, y = 0 }), { repeating = true }) -hl.bind(mainMod .. " + CTRL + J", hl.dsp.window.resize({ x = 0, y = -10 }), { repeating = true }) -hl.bind(mainMod .. " + CTRL + K", hl.dsp.window.resize({ x = 0, y = 10 }), { repeating = true }) +hl.bind(mainMod .. " + CTRL + H", hl.dsp.window.resize({ x = -10, y = 0, relative = true }), { repeating = true }) +hl.bind(mainMod .. " + CTRL + L", hl.dsp.window.resize({ x = 10, y = 0, relative = true }), { repeating = true }) +hl.bind(mainMod .. " + CTRL + J", hl.dsp.window.resize({ x = 0, y = -10, relative = true }), { repeating = true }) +hl.bind(mainMod .. " + CTRL + K", hl.dsp.window.resize({ x = 0, y = 10, relative = true }), { repeating = true }) for i = 1, 10 do local key = i % 10 @@ -50,3 +50,5 @@ hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ to hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true }) hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true }) + +hl.bind("code:51", hl.dsp.pass({ window = "class:^(Discord)$" }), { non_consuming = true }) -- cgit 1.3.1