sway/config: Set lockscreen backgroud picture

Andrew Shiva / Wikipedia / CC BY-SA 4.0

From: https://commons.wikimedia.org/wiki/File:Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg
This commit is contained in:
Alan Orth 2020-02-10 10:03:08 +02:00
parent f43f6d3e37
commit 9c369a66d3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -78,11 +78,13 @@ bindswitch --reload lid:off output $laptop enable
# #
# Example configuration: # Example configuration:
# #
set $lock_bg ~/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg
exec swayidle \ exec swayidle \
timeout 300 'swaylock -c 000000' \ timeout 300 'swaylock -c 000000 -i $lock_bg' \
timeout 600 'swaymsg "output * dpms off"' \ timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \ resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -c 000000' before-sleep 'swaylock -c 000000 -i $lock_bg'
# #
# This will lock your screen after 300 seconds of inactivity, then turn off # This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 600 seconds, and turn your screens back on when # your displays after another 600 seconds, and turn your screens back on when