removed loop from spotify change script
This commit is contained in:
parent
6ef4a94508
commit
7f77c59145
@ -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 $?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user