Skip to content

Commit

Permalink
Modify brightness controls to use light
Browse files Browse the repository at this point in the history
  • Loading branch information
John A committed Sep 30, 2020
1 parent e529122 commit 93ffeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ XF86Audio{Lower,Raise}Volume

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

#
# bspwm hotkeys
Expand Down

0 comments on commit 93ffeff

Please sign in to comment.