mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 09:14:25 +02:00
spotify: fix clean script
This commit is contained in:
parent
9c23fbea2d
commit
09831608e3
1 changed files with 1 additions and 0 deletions
|
@ -10,5 +10,6 @@ pw-cli dump short client \
|
|||
echo $(pw-cli dump $id | sed -nE 's/^\s*object.serial = "([0-9]*)"/\1/p') $id
|
||||
done \
|
||||
| sort -n \
|
||||
| cut -d' ' -f2 \
|
||||
| head -n-1 \
|
||||
| xargs -trn1 pw-cli destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue