refactor: replace spotify icons

This commit is contained in:
Jan De Dobbeleer 2020-10-16 16:07:12 +02:00 committed by Jan De Dobbeleer
parent 686e33d02e
commit 374dc74274
2 changed files with 3 additions and 5 deletions

View file

@ -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)

View file

@ -19,9 +19,7 @@
"foreground": "#ffffff",
"background": "#1BD760",
"properties": {
"prefix": "  ",
"paused_icon": " ",
"playing_icon": " "
"prefix": "  "
}
},
{