Fix locking

This commit is contained in:
pancakes 2024-04-16 20:08:37 +10:00
parent 2a8f5d72d0
commit bc3676aa6d
2 changed files with 1 additions and 2 deletions

View file

@ -81,7 +81,7 @@ riverctl input $T480_POINTER tap enabled
riverctl input $T480_POINTER tap-button-map left-right-middle
# Lock screen after 5 mins idle or before sleep
riverctl spawn "swayidle -w timeout 300 'swaylock -f --fade-in=1' timeout 600 'wlopm --off \*' resume 'wlopm --on \*' before-sleep 'swaylock -f'"
riverctl spawn "swayidle -w timeout 300 'swaylock -f --fade-in=1 --grace=30' timeout 600 'wlopm --off \*' resume 'wlopm --on \*' before-sleep 'swaylock -f'"
## Mappings
# Applications

View file

@ -2,7 +2,6 @@ daemonize
clock
indicator
show-failed-attempts
grace=30
image=~/.wallpaper
scaling=fill
bs-hl-color=e0af68