From 89e38c3d254e13877192c95d921a906898ed82f5 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 9 Aug 2021 19:50:43 +0200 Subject: [PATCH] xss-lock: document an alternative using xsecurelock and mpv Also, it would be neat if --panscan=1.0 was enabled in mpv configuration. --- bin/xss-lock | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/xss-lock b/bin/xss-lock index 36fb2f8..45c1284 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -35,6 +35,10 @@ case "$1" in dunstctl set-paused true # Then, lock screen 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" # After unlocking screen, stop dimmer, restore notifications dimmer stop