Fix i3blocks/mpd

This commit is contained in:
Breizh 2022-08-13 00:54:00 +02:00
parent aedefefffc
commit 30ad2871c7

View file

@ -62,7 +62,7 @@ do
echo "play" >&${IN} || self-reset
sed '/^OK$/q' <&$OUT &>/dev/null
fi
;;
;;&
2)
if [[ "${o["state"]}" == stop ]]
then
@ -70,7 +70,7 @@ do
else
echo "pause" >&${IN} || self-reset
fi
;;
;;&
1) echo "previous" >&${IN} || self-reset ;;&
3) echo "next" >&${IN} || self-reset ;;&
1|2|3) sed '/^OK$/q' <&$OUT &>/dev/null ;;