dotfiles/.scripts/mail.sh
2017-03-04 14:31:11 -08:00

4 lines
112 B
Bash
Executable file

#!/usr/bin/env bash
NEWEMAILS=$(notmuch search tag:unread and not tag:archive | wc -l)
echo "Mail: $NEWEMAILS"