12 lines
196 B
Plaintext
Raw Normal View History

2020-05-09 21:26:23 +02:00
#!/bin/sh
echo ""
if mpc status | grep -q "playing"; then
mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[playing\\].*//g"
elif mpc status | grep -q "paused"; then
echo ""
else
echo ""
fi