mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 14:35:37 +00:00
hide polybar mail notification when no messages
This commit is contained in:
parent
cd067cce69
commit
efb3933f5a
@ -109,7 +109,7 @@
|
||||
${pkgs.notmuch}/bin/notmuch new > /dev/null
|
||||
UNREAD=$(${pkgs.notmuch}/bin/notmuch count is:inbox and is:unread)
|
||||
if [ $UNREAD = "0" ]; then
|
||||
echo "%{T3}%{T-} "
|
||||
echo ""
|
||||
else
|
||||
echo "%{T2}%{T-} $UNREAD "
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user