zshell globalshortcuts for brightness works

This commit is contained in:
2026-07-07 21:28:46 +02:00
parent b8c725148a
commit 6e2b9b02d2
+2 -3
View File
@@ -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"))