From bedf62bcba9c75069bb656e4f262f87187010360 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Tue, 21 Jun 2022 12:43:13 +0200 Subject: Update sway config --- .config/sway/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/sway/config') diff --git a/.config/sway/config b/.config/sway/config index 933acfd..f2b6097 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 # @@ -124,6 +126,10 @@ input "2821:6228:Asus_Keyboard" xkb_layout us,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 -- cgit v1.2.3