This commit is contained in:
Marco Thomas
2021-04-12 12:43:16 +02:00
parent 9d9ca01fd6
commit d9d3aaf3ab
5 changed files with 15 additions and 11 deletions

View File

@@ -33,5 +33,5 @@ function get_title () {
[ ! -z "$(playerctl -p spotify status 2>/dev/null)" ] \
&& artist=$(get_artist) \
&& title=$(get_title) \
&& ([ -z "$artist$title" ] && scroll "" "Spotify is not connected on this pc" "" || scroll "$artist - $title" ) \
&& ([ -z "$artist$title" ] && scroll "" "Spotify is not connected on this pc" "" || scroll "$title - $artist" ) \
|| exit 1