Run playerctl pause when locking

This commit is contained in:
Adam Goldsmith 2021-08-18 21:06:06 -04:00
parent c4d17e3b21
commit 5942ab076e

View File

@ -3,6 +3,7 @@
lock() { lock() {
killall -SIGHUP gpg-agent killall -SIGHUP gpg-agent
pactl set-sink-mute @DEFAULT_SINK@ true pactl set-sink-mute @DEFAULT_SINK@ true
playerctl pause
# needs i3lock-color # needs i3lock-color
i3lock --ignore-empty-password --clock --indicator --show-failed-attempts \ i3lock --ignore-empty-password --clock --indicator --show-failed-attempts \