backlight on void requires root.

This commit is contained in:
Bartek Stalewski 2023-10-17 02:14:32 +02:00
parent 4088b43554
commit 5c53f6529b

View File

@ -88,8 +88,8 @@ keys = [
Key([], "XF86AudioMicMute", lazy.spawn("sb-volume key")),
Key([], "XF86AudioRaiseVolume", lazy.spawn("sb-volume inc")),
Key([], "XF86AudioLowerVolume", lazy.spawn("sb-volume dec")),
Key([], "XF86MonBrightnessUp", lazy.spawn("xbacklight -inc 10")),
Key([], "XF86MonBrightnessDown", lazy.spawn("xbacklight -dec 10")),
Key([], "XF86MonBrightnessUp", lazy.spawn("doas xbacklight -inc 10")),
Key([], "XF86MonBrightnessDown", lazy.spawn("doas xbacklight -dec 10")),
]
for i in groups[:10]: