[ADD][I3] Finer-grained brightness control

This commit is contained in:
Bruno BELANYI 2020-01-22 16:32:16 +01:00
parent 28f5adcebe
commit 8b9a0ad3e4

View file

@ -307,6 +307,8 @@ bindsym XF86Display exec arandr
# Bind sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Increment brightness: $(printf '%.0f' `xbacklight -get`)%"
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Decrement brightness: $(printf '%.0f' `xbacklight -get`)%"
bindsym Shift+XF86MonBrightnessUp exec xbacklight -inc 1 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Increment brightness: $(printf '%.0f' `xbacklight -get`)%"
bindsym Shift+XF86MonBrightnessDown exec xbacklight -dec 1 && notify-send -h string:x-canonical-private-synchronous:bright -t 500 -u low "Decrement brightness: $(printf '%.0f' `xbacklight -get`)%"
# Auto start system tray applets
exec --no-startup-id blueman-applet