mirror of https://gitlab.com/dabruh/dotfiles.git
11 lines
411 B
Plaintext
11 lines
411 B
Plaintext
# brightness control
|
|
set $brightness_down sudo /usr/bin/brightnessctl set -q 5%-
|
|
set $brightness_up sudo /usr/bin/brightnessctl set -q +5%
|
|
bindsym XF86MonBrightnessUp exec $brightness_up
|
|
bindsym XF86KbdBrightnessUp exec $brightness_up
|
|
bindsym XF86MonBrightnessDown exec $brightness_down
|
|
bindsym XF86KbdBrightnessDown exec $brightness_down
|
|
|
|
# Battery manager
|
|
exec_always --no-startup-id killall battmon; battmon
|