(Scripts)~mail_fetch:refresh notmuch before counting
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user