Add -e. Add note on more swaylock options

This commit is contained in:
RealStickman 2022-07-20 16:06:06 +02:00 committed by exu
parent 0672db625a
commit e40c4981b9

View File

@ -63,10 +63,12 @@ output * bg ~/.cache/betterlockscreen/current/wall_dim.png fill
# 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.
# -c 000000 sets the color in RGB
# use -i to set an image
exec swayidle -w \
timeout 20 'swaylock -f -c 000000' \
timeout 20 'swaylock -f -e -c 000000' \
timeout 40 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
before-sleep 'swaylock -f -e -c 000000'
### Input configuration
#