mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 21:34:21 +02:00
spotify-clean: use pacmd from PulseAudio
This commit is contained in:
parent
01d3fb95bc
commit
07a915dc9d
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -4,3 +4,4 @@ After=pulseaudio.socket
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnUnitActiveSec=1h
|
OnUnitActiveSec=1h
|
||||||
|
OnStartupSec=1h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue