diff options
Diffstat (limited to 'Scripts/.local/scripts/mail_fetch')
-rwxr-xr-x | Scripts/.local/scripts/mail_fetch | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/mail_fetch b/Scripts/.local/scripts/mail_fetch new file mode 100755 index 0000000..6ee28fc --- /dev/null +++ b/Scripts/.local/scripts/mail_fetch @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +prev=$(notmuch count) +mbsync -a +new=$(notmuch count) +notify-send "mail_fetch: Fetched $(echo $new - $prev | bc -l) mail" |