diff --git a/modules/binds.lua b/modules/binds.lua index 79dc12d..de72c0e 100644 --- a/modules/binds.lua +++ b/modules/binds.lua @@ -52,9 +52,6 @@ hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = tru hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true }) hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true }) --- Broken on Artix -> Seems to not expose XF86 keys when not on DE (KDE Plasma worked) --- hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set +5%"), { locked = true, repeating = true }) --- hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set -5%"), { locked = true, repeating = true }) hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze")) hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher")) @@ -62,3 +59,5 @@ hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc")) hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing")) hl.bind("SUPER + F1", hl.dsp.global("zshell:lock")) hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings")) +hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown")) +hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"))