Make media block hide if spotidy not open

This commit is contained in:
Jonathan Hodgson 2018-05-04 11:10:11 +01:00
parent aaa2532c07
commit 63ba776588

View file

@ -18,10 +18,12 @@ fi
title=$($COMMAND metadata title | sed "s/\&/\&/g")
artist=$($COMMAND metadata artist | sed "s/\&/\&/g")
if [ "$title" != "(null)" ]; then
ret="<span foreground='$colour'>$title</span>"
ret="$ret - $artist"
ret="<span foreground='$colour'>$title</span>"
ret="$ret - $artist"
echo "$ret";
fi
echo "$ret";