commented brightnessctl keys

This commit is contained in:
2026-06-05 02:01:15 +02:00
parent f387a0790e
commit 7cf2a3d08d
+3 -2
View File
@@ -51,9 +51,10 @@ hl.bind(
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true }) hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true }) hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
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("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = 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("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher")) hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))