Fix i3blocks/mpd
This commit is contained in:
parent
0d6deedaef
commit
55105cf12a
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ do
|
||||||
echo "play" >&${IN} || self-reset
|
echo "play" >&${IN} || self-reset
|
||||||
sed '/^OK$/q' <&$OUT &>/dev/null
|
sed '/^OK$/q' <&$OUT &>/dev/null
|
||||||
fi
|
fi
|
||||||
;;
|
;;&
|
||||||
2)
|
2)
|
||||||
if [[ "${o["state"]}" == stop ]]
|
if [[ "${o["state"]}" == stop ]]
|
||||||
then
|
then
|
||||||
|
@ -70,7 +70,7 @@ do
|
||||||
else
|
else
|
||||||
echo "pause" >&${IN} || self-reset
|
echo "pause" >&${IN} || self-reset
|
||||||
fi
|
fi
|
||||||
;;
|
;;&
|
||||||
1) echo "previous" >&${IN} || self-reset ;;&
|
1) echo "previous" >&${IN} || self-reset ;;&
|
||||||
3) echo "next" >&${IN} || self-reset ;;&
|
3) echo "next" >&${IN} || self-reset ;;&
|
||||||
1|2|3) sed '/^OK$/q' <&$OUT &>/dev/null ;;
|
1|2|3) sed '/^OK$/q' <&$OUT &>/dev/null ;;
|
||||||
|
|
Loading…
Reference in a new issue