aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts')
-rwxr-xr-xScripts/.local/scripts/mail_fetch1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/mail_fetch b/Scripts/.local/scripts/mail_fetch
index 6ee28fc..3a2d7f9 100755
--- a/Scripts/.local/scripts/mail_fetch
+++ b/Scripts/.local/scripts/mail_fetch
@@ -2,5 +2,6 @@
prev=$(notmuch count)
mbsync -a
+notmuch new
new=$(notmuch count)
notify-send "mail_fetch: Fetched $(echo $new - $prev | bc -l) mail"