diff --git a/.config/i3/layers/config.post-main-90-laptop b/.config/i3/layers/config.post-main-90-laptop index 903dec5..82e26ec 100644 --- a/.config/i3/layers/config.post-main-90-laptop +++ b/.config/i3/layers/config.post-main-90-laptop @@ -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