1
0
Fork 0

sway: Update swayidle config

This commit is contained in:
Jeremy Kaplan 2024-08-05 19:37:38 -04:00
commit 53f5aa18bc
2 changed files with 3 additions and 2 deletions

View file

@ -149,11 +149,12 @@ bar {
set $locker '_locker'
set $dimmer '_locker dim'
set $suspend 'systemctl suspend'
bindsym $super+Shift+semicolon exec $locker
bindsym $super+Shift+semicolon exec 'loginctl lock-session'
# Automatically lock after 5 minutes, suspend after 5 more
exec swayidle -w \
timeout 300 $dimmer \
timeout 600 $suspend \
lock $locker \
before-sleep $locker
# Only show borders if there's more than one window