show the number of unread mail in i3bar

This commit is contained in:
Bruno Carlin 2020-06-16 07:09:08 +02:00
parent 264d10b02d
commit d66a19b62e
5 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
fd -t f . "$HOME/.cache/mail/waarp/INBOX/new/" | wc -l > "$HOME/.cache/mail/waarp.unreadcount"