Adjust laptop brightness controls

This commit is contained in:
dabruh 2022-10-30 20:57:28 +01:00
parent 46c6d3143c
commit 1a56986bbb
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# brightness control # brightness control
bindsym XF86MonBrightnessDown exec sudo brightnessctl set -q 5%- set $brightness_down sudo /usr/bin/brightnessctl set -q 5%-
bindsym XF86MonBrightnessUp exec sudo 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 # Battery manager
exec_always --no-startup-id killall battmon; battmon exec_always --no-startup-id killall battmon; battmon