Remove song name when you stop mpd

This commit is contained in:
Nise Void 2020-05-15 11:17:04 +02:00
parent e0300868af
commit a6c45404d1
Signed by: NiseVoid
GPG Key ID: FBA14AC83EA602F3
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
while (true); do
SONG=
if [ "$(mpc | wc -l)" -eq "3" ]; then
SONG=$(mpc | head -1)" | "
if [ "$(mpc | grep '\[paused\]' | wc -l)" -eq "1" ]; then