Switch from xbacklight to brightnessctl, update packages

This commit is contained in:
Riyyi
2018-03-22 12:06:33 +01:00
parent d0a6f91cdb
commit fa57174c9d
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -197,8 +197,8 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q -D pulse sset Master
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q -D pulse sset Master 5%- unmute && pkill -RTMIN+1 i3blocks
bindsym XF86AudioMute exec --no-startup-id amixer -q -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks
# Screen brightness
bindsym $mod+F3 exec xbacklight -inc 10 && pkill -RTMIN+2 i3blocks
bindsym $mod+F2 exec xbacklight -dec 10 && pkill -RTMIN+2 i3blocks
bindsym $mod+F3 exec brightnessctl -q s +10% && pkill -RTMIN+2 i3blocks
bindsym $mod+F2 exec brightnessctl -q s 10%- && pkill -RTMIN+2 i3blocks
# Screenshot
bindsym --release Print exec scrot -e "mv \$f $HOME/Pictures/screen_captures/" # Fullscreen
bindsym --release Shift+Print exec scrot -s -e "mv \$f $HOME/Pictures/screen_captures/" # Selection