dotfiles/.local/bin/statusbar/sb-getmail

5 lines
123 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)
2023-10-13 12:05:40 +02:00
[ $num != 0 ] && printf "%s" "$num"
printf '\n'