(Scripts)~mail_fetch:refresh notmuch before counting

This commit is contained in:
2024-06-11 01:23:36 +01:00
parent f5ea98f474
commit 642e7c95c1

View File

@@ -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"