dotfiles/.local/bin/statusbar/getmail
2020-07-04 14:23:27 +02:00

4 lines
106 B
Bash
Executable File

#!/bin/bash
num=$(find ~/.local/share/mail/*/INBOX/new -type f | wc -l)
[ $num != 0 ] && echo "📬 "$num