mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-01 22:04:20 +02:00
spotify: try to fix stream cleaning
This commit is contained in:
parent
14f933d7e7
commit
a614930197
1 changed files with 2 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Kill all spotify streams, except the most recent one.
|
||||
# Kill all spotify streams, except the most recent (old?) one.
|
||||
|
||||
exit 0
|
||||
pw-cli dump short client \
|
||||
| grep -F 'ap="spotify"' \
|
||||
| head -n-1 \
|
||||
| tail -n+2 \
|
||||
| cut -d: -f1 \
|
||||
| xargs -rn1 pw-cli destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue