dotfiles/.local/bin/statusbar/getmail
2020-07-17 15:05:59 +02:00

4 lines
105 B
Bash
Executable File

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