Pause all media players on lock, instead of just first
This commit is contained in:
parent
f0c26851e5
commit
9d4844580d
@ -3,7 +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
|
playerctl --all-players 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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user