dotfiles/.config/i3/layers/config.post-main-90-laptop

11 lines
421 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 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