dotfiles/.local/bin/statusbar/getmail

8 lines
129 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-09-14 18:04:12 +02:00
if [ $num != 0 ]; then
echo "📬"$num
else
echo ""
fi