diff options
| author | pablu <me@pablu.de> | 2026-05-17 01:49:44 +0200 |
|---|---|---|
| committer | pablu <me@pablu.de> | 2026-05-17 01:49:44 +0200 |
| commit | 12e3fd6b749edde5fd037e79ac004e4e858f571f (patch) | |
| tree | 0782695dc55e8a9e70c590fdfe346613e20195e3 /dot_config/hypr/config/binds.lua | |
| parent | 84f687e9f1d21376bf099c51c1c57ae703b4648c (diff) | |
update hyprland
Diffstat (limited to 'dot_config/hypr/config/binds.lua')
| -rw-r--r-- | dot_config/hypr/config/binds.lua | 10 |
1 files changed, 6 insertions, 4 deletions
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 }) |
