xss-lock: pause notifications when screen is locked

This commit is contained in:
Vincent Bernat 2021-07-07 18:54:18 +02:00
parent d215c151a9
commit fa589e3716

View file

@ -40,7 +40,9 @@ case "$1" in
# First, pause any music player
playerctl -a pause
# Then, lock screen
dunstctl set-paused true
i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f
dunstctl set-paused false
echo "lock: unlock screen"
;;
esac