pause media when locking
This commit is contained in:
@@ -21,7 +21,7 @@ sleep_delay=1
|
|||||||
|
|
||||||
# Run before starting the locker
|
# Run before starting the locker
|
||||||
pre_lock() {
|
pre_lock() {
|
||||||
# mpc pause
|
playerctl pause
|
||||||
killall -q compton
|
killall -q compton
|
||||||
amixer -q -D pulse sset Master mute
|
amixer -q -D pulse sset Master mute
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user