From 374dc74274c0bc0daef74b831b1c68c8e87413f0 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Fri, 16 Oct 2020 16:07:12 +0200 Subject: [PATCH] refactor: replace spotify icons --- segment_spotify.go | 4 ++-- themes/jandedobbeleer.json | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/segment_spotify.go b/segment_spotify.go index 2a704232..442525da 100644 --- a/segment_spotify.go +++ b/segment_spotify.go @@ -47,9 +47,9 @@ func (s *spotify) string() string { icon := "" switch s.status { case "paused": - icon = s.props.getString(PausedIcon, "") + icon = s.props.getString(PausedIcon, "\uF8E3 ") case "playing": - icon = s.props.getString(PlayingIcon, "") + icon = s.props.getString(PlayingIcon, "\uE602 ") } separator := s.props.getString(TrackSeparator, " - ") return fmt.Sprintf("%s%s%s%s", icon, s.artist, separator, s.track) diff --git a/themes/jandedobbeleer.json b/themes/jandedobbeleer.json index 9cf2f6f1..d4ad8048 100644 --- a/themes/jandedobbeleer.json +++ b/themes/jandedobbeleer.json @@ -19,9 +19,7 @@ "foreground": "#ffffff", "background": "#1BD760", "properties": { - "prefix": "  ", - "paused_icon": " ", - "playing_icon": " " + "prefix": "  " } }, {