(Scripts)~mail_fetch:refresh notmuch before counting
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
|
|
||||||
prev=$(notmuch count)
|
prev=$(notmuch count)
|
||||||
mbsync -a
|
mbsync -a
|
||||||
|
notmuch new
|
||||||
new=$(notmuch count)
|
new=$(notmuch count)
|
||||||
notify-send "mail_fetch: Fetched $(echo $new - $prev | bc -l) mail"
|
notify-send "mail_fetch: Fetched $(echo $new - $prev | bc -l) mail"
|
||||||
|
|||||||
Reference in New Issue
Block a user