Stop MPC playback on lock
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c47fb8ec62
commit
ca2c93a134
1 changed files with 3 additions and 0 deletions
3
bin/lock
3
bin/lock
|
@ -28,4 +28,7 @@ if [[ -f ${HOME}/.config/screen-lock.png ]]; then
|
|||
done
|
||||
fi
|
||||
|
||||
# Stop MPD playback when mpc client was found
|
||||
(which mpc >/dev/null 2>&1) && mpc stop
|
||||
|
||||
i3lock -e -f -n -i /tmp/screen.png
|
||||
|
|
Loading…
Add table
Reference in a new issue