From 7f77c59145093b26c58cadcfc6c43bc19f01874a Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 18 Jun 2020 14:31:35 +0200 Subject: [PATCH] removed loop from spotify change script --- .config/spotifyd/change.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.config/spotifyd/change.sh b/.config/spotifyd/change.sh index 3e2ed7e..d2d2193 100755 --- a/.config/spotifyd/change.sh +++ b/.config/spotifyd/change.sh @@ -1,18 +1,4 @@ #!/usr/bin/env sh # send ipc to polybar to update - -hook (){ - polybar-msg hook spotifyd 1 -} - -i=0 - -until hook || [ $i -gt 10 ]; -do - sleep 1 - let i=i+1 -done - -exit $? - +polybar-msg hook spotifyd 1