pause media when locking

This commit is contained in:
2020-04-28 01:43:42 +02:00
parent 161ee66f2c
commit eb1762e28d

View File

@@ -21,7 +21,7 @@ sleep_delay=1
# Run before starting the locker
pre_lock() {
# mpc pause
playerctl pause
killall -q compton
amixer -q -D pulse sset Master mute
return