diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/sway/config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config index 11d4c6f..e0f1ac7 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -71,6 +71,8 @@ set $screenshot slurp \ set $toggle_layout input "type:keyboard" xkb_switch_layout next set $lock swaylock set $toggle_bar killall -SIGUSR1 waybar +# brightnessctl --list | grep kbd +set $keyboard_backlight "asus::kbd_backlight" ### Output configuration # @@ -125,6 +127,10 @@ input "1:1:AT_Translated_Set_2_keyboard" xkb_layout no bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ + # Keyboard Brightness + bindsym --locked XF86KbdBrightnessDown exec brightnessctl --device $keyboard_backlight set 1- + bindsym --locked XF86KbdBrightnessUp exec brightnessctl --device $keyboard_backlight set 1+ + # Turn off screen bindsym --locked XF86DisplayOff output $laptop_screen toggle |