diff options
| author | Mosder <xmosder12@gmail.com> | 2026-08-22 12:00:23 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-08-22 12:00:23 +0200 |
| commit | 3b066826b2bc0856fb36ada1070973133f775a1d (patch) | |
| tree | f468a355638ffe72c222f147aa0a4655b788b2a5 /laptop/home/mosder/.config/hypr/conf/binds.lua | |
| parent | a406ba6f9f2b6c8e4fa76ef1eb77c4825b4f18b8 (diff) | |
fuck you Vaxry
Diffstat (limited to 'laptop/home/mosder/.config/hypr/conf/binds.lua')
| -rw-r--r-- | laptop/home/mosder/.config/hypr/conf/binds.lua | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/laptop/home/mosder/.config/hypr/conf/binds.lua b/laptop/home/mosder/.config/hypr/conf/binds.lua index 3ccdf16..bd26621 100644 --- a/laptop/home/mosder/.config/hypr/conf/binds.lua +++ b/laptop/home/mosder/.config/hypr/conf/binds.lua @@ -1,5 +1,13 @@ -local vars = require("conf.vars") +local vars = require 'conf.vars' -- Brightness controls -hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set 5%+; " .. vars.scripts_dir .. "/current-brightness.sh | xargs " .. vars.osd .. "-client --brightness"), { locked = true, repeating = true }) -hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set 5%-; " .. vars.scripts_dir .. "/current-brightness.sh | xargs " .. vars.osd .. "-client --brightness"), { locked = true, repeating = true }) +hl.bind( + 'XF86MonBrightnessUp', + hl.dsp.exec_cmd('brightnessctl set 5%+; ' .. vars.scripts_dir .. '/current-brightness.sh | xargs ' .. vars.osd .. '-client --brightness'), + { locked = true, repeating = true } +) +hl.bind( + 'XF86MonBrightnessDown', + hl.dsp.exec_cmd('brightnessctl set 5%-; ' .. vars.scripts_dir .. '/current-brightness.sh | xargs ' .. vars.osd .. '-client --brightness'), + { locked = true, repeating = true } +) |
