spotify-clean: use pacmd from PulseAudio

This commit is contained in:
Vincent Bernat 2021-08-27 08:28:07 +02:00
parent 01d3fb95bc
commit 07a915dc9d
2 changed files with 2 additions and 1 deletions

View file

@ -3,4 +3,4 @@
pactl list short clients \ pactl list short clients \
| awk '($3 == "spotify") {print $1}' \ | awk '($3 == "spotify") {print $1}' \
| head -n-1 \ | head -n-1 \
| xargs -rn1 pw-cli destroy | xargs -rn1 pacmd kill-client

View file

@ -4,3 +4,4 @@ After=pulseaudio.socket
[Timer] [Timer]
OnUnitActiveSec=1h OnUnitActiveSec=1h
OnStartupSec=1h