From 9894f83ac04425726ae889bd3f814fdda8c4ced9 Mon Sep 17 00:00:00 2001 From: Alexis 'Horgix' Chotard Date: Thu, 7 May 2015 18:12:35 +0200 Subject: imap module: fix empty color that made text invisible on i3bar when no unread email --- py3status/modules/imap.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/py3status/modules/imap.py b/py3status/modules/imap.py index 07190dd..473c55d 100644 --- a/py3status/modules/imap.py +++ b/py3status/modules/imap.py @@ -47,13 +47,11 @@ class Py3status: self.new_mail_color = i3s_config['color_good'] if mail_count == 'N/A': - response['color'] = '' response['full_text'] = mail_count elif mail_count != 0: response['color'] = self.new_mail_color response['full_text'] = self.name.format(unseen=mail_count) else: - response['color'] = '' if self.hide_if_zero: response['full_text'] = '' else: -- cgit v1.3