mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-16 05:04:21 +02:00
xss-lock: better comments
This commit is contained in:
parent
fa589e3716
commit
2206d4f236
1 changed files with 4 additions and 3 deletions
|
@ -37,12 +37,13 @@ case "$1" in
|
|||
echo "lock: lock screen (idle: $(xprintidle))"
|
||||
# Something may have mendled with screensaver settings
|
||||
configure
|
||||
# First, pause any music player
|
||||
# Pause music player and notifications
|
||||
playerctl -a pause
|
||||
# Then, lock screen
|
||||
dunstctl set-paused true
|
||||
# Then, lock screen
|
||||
i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f
|
||||
dunstctl set-paused false
|
||||
echo "lock: unlock screen"
|
||||
# Resume notifications
|
||||
dunstctl set-paused false
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue