Prepending 'Now playing:' to whatmusic

This commit is contained in:
Siina Mashek 2024-04-22 06:06:10 +03:00
parent 73fe92e0c3
commit 973af06df4

View file

@ -12,7 +12,7 @@ artist=$(echo "$data" | jq '.artist_name' | tr -d '"')
track=$(echo "$data" | jq '.track_name' | tr -d '"')
if [[ "$artist" != "null" ]]; then
echo "$artist" - "$track"
echo "Currently playing: $artist" - "$track"
else
echo "Not listening to anything right now."
fi