aboutsummaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-06-21 10:43:13 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-06-21 10:43:13 +0000
commitbedf62bcba9c75069bb656e4f262f87187010360 (patch)
tree32d58db9be97dadc8361646590760494b53d784c /.config/sway
parent32bfefb810b16920b2882e638045959991b46aa6 (diff)
downloaddotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar.gz
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar.bz2
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar.lz
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar.xz
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.tar.zst
dotfiles-bedf62bcba9c75069bb656e4f262f87187010360.zip
Update sway config
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config6
1 files changed, 6 insertions, 0 deletions
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