Skip to content

Commit 93ffeff

Browse files
author
John A
committed
Modify brightness controls to use light
1 parent e529122 commit 93ffeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sxhkdrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ XF86Audio{Lower,Raise}Volume
3232

3333
# adjust brightness
3434
{_, shift +}XF86MonBrightness{Down,Up}
35-
echo $(( $(cat /sys/class/backlight/*/brightness) + 15 * {1, 5} * {-2,2})) > /sys/class/backlight/*/brightness
35+
echo "{2,10}" | xargs light -{U,A}
3636

3737
#
3838
# bspwm hotkeys

0 commit comments

Comments
 (0)