swayidle setup (lock(lid, time), kbd light)
This commit is contained in:
parent
fdf489dfe3
commit
8f3a5a2b2e
@ -29,3 +29,6 @@ exec_always ~/.config/sway/scripts/statusbar
|
||||
|
||||
# Keyboard backlight on
|
||||
exec_always light -As "sysfs/leds/tpacpi::kbd_backlight" 100
|
||||
|
||||
# Swaylock
|
||||
exec swayidle timeout 300 'swaylock' before-sleep 'swaylock' after-resume 'light -As "sysfs/leds/tpacpi::kbd_backlight" 100'
|
||||
|
@ -177,4 +177,8 @@ bindsym $mod+equal scratchpad show
|
||||
bindsym $mod+Control+Shift+Right move workspace to output right
|
||||
bindsym $mod+Control+Shift+Left move workspace to output left
|
||||
bindsym $mod+Control+Shift+Down move workspace to output down
|
||||
bindsym $mod+Control+Shift+Up move workspace to output up
|
||||
bindsym $mod+Control+Shift+Up move workspace to output up
|
||||
|
||||
|
||||
bindswitch lid:on exec light -As "sysfs/leds/tpacpi::kbd_backlight" 10
|
||||
bindswitch lid:off exec light -As "sysfs/leds/tpacpi::kbd_backlight" 10
|
||||
|
Loading…
Reference in New Issue
Block a user