herbstluftwm: add keybinds to adjust brightness more precisely

This commit is contained in:
Thomas Preisner 2018-02-04 00:43:34 +01:00
parent 5261afc3bb
commit 11f256160b

View file

@ -77,6 +77,8 @@ if [ "$HOSTNAME" = warthog ]; then
hc keybind $Mod-d spawn /usr/bin/dmenu_run -fn "Monospace-9" hc keybind $Mod-d spawn /usr/bin/dmenu_run -fn "Monospace-9"
hc keybind XF86MonBrightnessDown spawn xbacklight -4 hc keybind XF86MonBrightnessDown spawn xbacklight -4
hc keybind XF86MonBrightnessUp spawn xbacklight +4 hc keybind XF86MonBrightnessUp spawn xbacklight +4
hc keybind Shift-XF86MonBrightnessDown spawn xbacklight -1
hc keybind Shift-XF86MonBrightnessUp spawn xbacklight +1
else else
hc keybind $Mod-d spawn /usr/bin/dmenu_run hc keybind $Mod-d spawn /usr/bin/dmenu_run
fi fi