Fix i3blocks/mpd

This commit is contained in:
Breizh 2022-08-13 00:48:35 +02:00
parent fcec99b378
commit 221ed89ff9

View file

@ -77,7 +77,7 @@ do
esac
# Réinitialisation de létat
unset o
unset o output
declare -A o
# Récupération de létat
@ -87,7 +87,9 @@ do
[[ "$output" == "OK" ]] && break
o[${output%%:*}]="${output##*: }"
done
unset output
# Récupération des informations du morceau en cours
echo "currentsong" >&$IN || self-reset
while read -t 1 -u $OUT output