sway: add screenlock background
This commit is contained in:
parent
1e7376fcfd
commit
56e21ace97
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue