dotfiles/.local/bin/statusbar/getmail

4 lines
105 B
Plaintext
Raw Normal View History

2020-07-04 14:23:27 +02:00
#!/bin/bash
num=$(find ~/.local/share/mail/*/INBOX/new -type f | wc -l)
2020-07-17 15:05:59 +02:00
[ $num != 0 ] && echo "📬"$num