1
0

finer brightness control

This commit is contained in:
Deven Blake 2021-01-06 22:32:48 -05:00
parent 3147d849e6
commit 40612a0e10

View File

@ -60,7 +60,9 @@ bindsym $mod+Shift+m exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@
# Screen brightness
# cred 4 https://github.com/patrickbolle/dotfiles/
bindsym $mod+equal exec light -A 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+Shift+equal exec light -A 1 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+minus exec light -U 5 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
bindsym $mod+Shift+minus exec light -U 1 && notify-send --expire-time=20 "LCD Backlight $(printf %.0f%% $(light -G))"
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod