diff options
| author | Mosder <xmosder12@gmail.com> | 2026-08-20 15:24:39 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-08-20 15:24:58 +0200 |
| commit | a406ba6f9f2b6c8e4fa76ef1eb77c4825b4f18b8 (patch) | |
| tree | 1db2dd5bad06e9603e7bcd3e00f2a4950dc12a1a /laptop/home/mosder/.config/hypr/conf/binds.lua | |
| parent | 9c8afb5cc83cf3fe6a804603850b9dc720cc81d1 (diff) | |
vibecoded rewrite of hyprland configs from hyprlang to lua - need to test it and prolly check if claude didn't do anything stupid
Diffstat (limited to 'laptop/home/mosder/.config/hypr/conf/binds.lua')
| -rw-r--r-- | laptop/home/mosder/.config/hypr/conf/binds.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/laptop/home/mosder/.config/hypr/conf/binds.lua b/laptop/home/mosder/.config/hypr/conf/binds.lua new file mode 100644 index 0000000..3ccdf16 --- /dev/null +++ b/laptop/home/mosder/.config/hypr/conf/binds.lua @@ -0,0 +1,5 @@ +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 }) |
