mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-08 01:04:21 +02:00
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:
parent
30df63aea1
commit
89e38c3d25
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue