mirror of https://gitlab.com/dabruh/dotfiles.git
Adjust laptop brightness controls
This commit is contained in:
parent
46c6d3143c
commit
1a56986bbb
|
@ -1,6 +1,10 @@
|
|||
# brightness control
|
||||
bindsym XF86MonBrightnessDown exec sudo brightnessctl set -q 5%-
|
||||
bindsym XF86MonBrightnessUp exec sudo brightnessctl set -q +5%
|
||||
set $brightness_down sudo /usr/bin/brightnessctl set -q 5%-
|
||||
set $brightness_up sudo /usr/bin/brightnessctl set -q +5%
|
||||
bindsym XF86MonBrightnessDown exec $brightness_down
|
||||
bindsym XF86KbdBrightnessDown exec $brightness_down
|
||||
bindsym XF86MonBrightnessUp exec sudo $brightness_up
|
||||
bindsym XF86KbdBrightnessUp exec sudo $brightness_up
|
||||
|
||||
# Battery manager
|
||||
exec_always --no-startup-id killall battmon; battmon
|
||||
|
|
Loading…
Reference in New Issue