Remove song name when you stop mpd
This commit is contained in:
parent
e0300868af
commit
a6c45404d1
@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
while (true); do
|
while (true); do
|
||||||
|
SONG=
|
||||||
if [ "$(mpc | wc -l)" -eq "3" ]; then
|
if [ "$(mpc | wc -l)" -eq "3" ]; then
|
||||||
SONG=$(mpc | head -1)" | "
|
SONG=$(mpc | head -1)" | "
|
||||||
if [ "$(mpc | grep '\[paused\]' | wc -l)" -eq "1" ]; then
|
if [ "$(mpc | grep '\[paused\]' | wc -l)" -eq "1" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user