mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-25 19:28:34 +02:00
spotify: don't sort clients when cleaning up
It seems that the ID is not strictly increasing.
This commit is contained in:
parent
45e503f017
commit
22262cce1c
1 changed files with 0 additions and 1 deletions
|
@ -2,6 +2,5 @@
|
||||||
|
|
||||||
pactl list short clients \
|
pactl list short clients \
|
||||||
| awk '($3 == "spotify") {print $1}' \
|
| awk '($3 == "spotify") {print $1}' \
|
||||||
| sort -n \
|
|
||||||
| head -n-1 \
|
| head -n-1 \
|
||||||
| xargs -rn1 pw-cli destroy
|
| xargs -rn1 pw-cli destroy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue