(Scripts)~make music_update_bar sleep 1 -> 0.5s

This commit is contained in:
2021-03-22 06:26:01 +00:00
parent 37ace760f5
commit c35b9ea674

View File

@@ -3,10 +3,11 @@
while :
do
prev="$(playerctl --player=spotify metadata title)"
item=$prev
while [[ $item == $prev ]]
do
sleep 1;
item="$(playerctl --player=spotify metadata title)";
sleep 0.5;
done
kill -48 $(pidof dwmblocks);
item="";