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