From 642e7c95c139da0c2f13830414148bbcf8a2c219 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 11 Jun 2024 01:23:36 +0100 Subject: (Scripts)~mail_fetch:refresh notmuch before counting --- Scripts/.local/scripts/mail_fetch | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3-13-gbd6f