mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +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
|
${pkgs.notmuch}/bin/notmuch new > /dev/null
|
||||||
UNREAD=$(${pkgs.notmuch}/bin/notmuch count is:inbox and is:unread)
|
UNREAD=$(${pkgs.notmuch}/bin/notmuch count is:inbox and is:unread)
|
||||||
if [ $UNREAD = "0" ]; then
|
if [ $UNREAD = "0" ]; then
|
||||||
echo "%{T3}%{T-} "
|
echo ""
|
||||||
else
|
else
|
||||||
echo "%{T2}%{T-} $UNREAD "
|
echo "%{T2}%{T-} $UNREAD "
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user