mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-24 21:04:52 +02:00
xss-lock: pause notifications when screen is locked
This commit is contained in:
parent
d215c151a9
commit
fa589e3716
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue