Add -e. Add note on more swaylock options

This commit is contained in:
RealStickman 2022-07-20 16:06:06 +02:00
parent dc951e0db0
commit 961d281dfe

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 # 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. # 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 \ 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"' \ 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 ### Input configuration
# #