This commit is contained in:
assada 2024-05-15 16:50:27 +03:00
parent d32bba2bd1
commit a9144544ac
2 changed files with 7 additions and 1 deletions

View File

@ -27,4 +27,5 @@ exec_always swayrd
exec_always ~/.config/sway/scripts/statusbar
# Keyboard backlight on
exec_always light -As "sysfs/leds/tpacpi::kbd_backlight" 100

View File

@ -152,6 +152,11 @@ bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
# Bindings for keyboard backlight
bindsym XF86KbdBrightnessUp exec light -As "sysfs/leds/tpacpi::kbd_backlight" 10
bindsym XF86KbdBrightnessDown exec light -Us "sysfs/leds/tpacpi::kbd_backlight" 10
bindsym XF86Tools exec code
#
# App shortcuts