diff options
Diffstat (limited to 'i3/.config/i3blocks/bin/email')
-rwxr-xr-x | i3/.config/i3blocks/bin/email | 5 |
1 files changed, 2 insertions, 3 deletions
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 "<span color='gray'></span> ${nMails}" else - echo \#00FF00 + echo -e "<span color='#00FF00'> ${nMails}</span>" fi |