From b9ea238dd7e8a56b1d171cdc76e405bb2a8584dd Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 21 Feb 2018 12:18:32 +0000 Subject: Improve i3 status --- i3/.config/i3blocks/bin/email | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'i3/.config/i3blocks/bin/email') diff --git a/i3/.config/i3blocks/bin/email b/i3/.config/i3blocks/bin/email index ab875e0..f83f4b0 100755 --- a/i3/.config/i3blocks/bin/email +++ b/i3/.config/i3blocks/bin/email @@ -1,10 +1,9 @@ #!/usr/bin/env bash nMails=$(find $HOME/.mail -path '*/new/*' -type f -not -path '*/rss/*' -not -path '*/lists/*' | wc -l) -echo -e "${nMails}\n${nMails}" if [[ ${nMails} -eq 0 ]]; then - echo \#FFFFFF + echo -e " ${nMails}" else - echo \#00FF00 + echo -e " ${nMails}" fi -- cgit v1.2.3