mpd-song now shows mpd when nothing is playing
This commit is contained in:
1 parent
f4c3dc7bbb
commit
5f300bb0c1
1 file changed
+2
@@ -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