Adjust Media Module Order

- Title then artist
- Replace blank title/artist with "N/A"
This commit is contained in:
Sravan Balaji
2022-05-01 16:44:50 -04:00
parent b91974c9e6
commit 4f61dab020
2 changed files with 18 additions and 2 deletions

View File

@ -14,5 +14,13 @@ else
status_icon=" "
fi
echo "$status_icon $artist - $title"
if [[ $artist == "" ]]; then
artist="N/A"
fi
if [[ $title == "" ]]; then
title="N/A"
fi
echo "$status_icon $title - $artist"
fi