mpd-song now shows mpd when nothing is playing
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
|
||||
if mpc status | grep -q "\[playing\]"; then
|
||||
mpc status | head -1
|
||||
else
|
||||
echo -n "mpd"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user