xss-lock: document an alternative using xsecurelock and mpv

Also, it would be neat if --panscan=1.0 was enabled in mpv
configuration.
This commit is contained in:
Vincent Bernat 2021-08-09 19:50:43 +02:00
parent 30df63aea1
commit 89e38c3d25

View file

@ -35,6 +35,10 @@ case "$1" in
dunstctl set-paused true dunstctl set-paused true
# Then, lock screen # Then, lock screen
i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f
# Alternative if we prefer videos:
# XSECURELOCK_SAVER=saver_mpv
# XSECURELOCK_LIST_VIDEOS_COMMAND="ls -1 ~/.config/i3/wallpapers/*.mp4"
# xsecurelock
echo "lock: unlock screen" echo "lock: unlock screen"
# After unlocking screen, stop dimmer, restore notifications # After unlocking screen, stop dimmer, restore notifications
dimmer stop dimmer stop