This commit is contained in:
Marco Thomas committed 2021-02-11 11:22:35 +01:00
1 parent 443624bbdf
commit 969dcc5def
3 files changed
+8 -9

No files matched your search

+1 -1
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 "%{F#79e6f3}$artist%{F#FFF} [" "$title" "]%{F-}" ) \
&& ([ -z "$artist$title" ] && scroll "" "Spotify is not connected on this pc" "" || scroll "$artist - " "$title" "%{F-}" ) \
|| exit 1