sway: add screenlock background

This commit is contained in:
Inhji 2023-10-21 10:14:50 +02:00
parent 1e7376fcfd
commit 56e21ace97
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ output eDP-1 scale 1.2
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 300 'swaylock -f -i ~/.local/share/backgrounds/lockscreen.jpg' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'