From 3ad8106de7e08aca5b52ffd8f8972678a10704da Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 10 Sep 2021 10:50:58 +0200 Subject: [PATCH] spotify-clean: explain purpose --- bin/spotify-clean | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/spotify-clean b/bin/spotify-clean index f976111..924adb3 100755 --- a/bin/spotify-clean +++ b/bin/spotify-clean @@ -1,5 +1,7 @@ #!/bin/sh +# Kill all spotify streams, except the most recent one. + pactl list short clients \ | awk '($3 == "spotify") {print $1}' \ | head -n-1 \