diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-01-09 19:31:17 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-01-09 19:31:17 +0100 |
| commit | 5cda5d4290a47c52ce120422bcd0ffb1f38f3417 (patch) | |
| tree | 5bbaa96f26545739932517cd5c7aea828d6177dc | |
| parent | fa891a7236f834b42ce2c645f4cf09757933102a (diff) | |
| parent | 63be3a24b1be2f529b5ca79c03954844348e38cc (diff) | |
Merge branch 'master' of github.com:ultrabug/py3status
| -rw-r--r-- | py3status/modules/mpd_status.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py3status/modules/mpd_status.py b/py3status/modules/mpd_status.py index 19de369..aa48f96 100644 --- a/py3status/modules/mpd_status.py +++ b/py3status/modules/mpd_status.py @@ -42,6 +42,7 @@ class Py3status: # available configuration parameters cache_timeout = 2 + color = None format = '{state} №{pos}. {artist} - {title} [{time}] | {next_title}' hide_when_paused = False hide_when_stopped = True @@ -110,6 +111,9 @@ class Py3status: 'transformed': transformed } + if self.color: + response['color'] = self.color + return response if __name__ == "__main__": |
