mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-02 06:14:22 +02:00
9 lines
191 B
Text
9 lines
191 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# Kill all spotify streams, except the most recent one.
|
||
|
|
||
|
pactl list short clients \
|
||
|
| awk '($3 == "spotify") {print $1}' \
|
||
|
| head -n-1 \
|
||
|
| xargs -rn1 pacmd kill-client
|