Adjust laptop brightness controls

This commit is contained in:
dabruh 2022-11-19 18:54:37 +01:00
parent f7f101dc15
commit a7c55c01a3

View file

@ -1,10 +1,8 @@
# brightness control
set $brightness_down brightnessctl set -q 5%-
set $brightness_up brightnessctl set -q +5%
bindsym XF86MonBrightnessUp exec $brightness_up
bindsym XF86KbdBrightnessUp exec $brightness_up
bindsym XF86MonBrightnessDown exec $brightness_down
bindsym XF86KbdBrightnessDown exec $brightness_down
bindsym XF86MonBrightnessUp exec brightnessctl set -q +5%
bindsym XF86MonBrightnessDown exec brightnessctl set -q 5%-
bindsym XF86KbdBrightnessUp exec brightnessctl --device=asus::kbd_backlight set -q +33%
bindsym XF86KbdBrightnessDown exec brightnessctl --device=asus::kbd_backlight set -q 33%-
# Battery manager
exec_always --no-startup-id killall battmon; battmon