From 22262cce1c06d9aa27466fce6ec5cd55754fa636 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 6 Aug 2021 14:33:31 +0200 Subject: [PATCH] spotify: don't sort clients when cleaning up It seems that the ID is not strictly increasing. --- bin/spotify-clean | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/spotify-clean b/bin/spotify-clean index 5a74f6e..077c50c 100755 --- a/bin/spotify-clean +++ b/bin/spotify-clean @@ -2,6 +2,5 @@ pactl list short clients \ | awk '($3 == "spotify") {print $1}' \ - | sort -n \ | head -n-1 \ | xargs -rn1 pw-cli destroy