optionally update notmuch when syncing mail

This commit is contained in:
Brett Eisenberg 2019-08-27 08:32:04 -07:00
parent cdb082df13
commit b2fe7885eb
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,7 @@ mail:
sync_tool: isync
sync_pim: True
sync_taskwarrior: True
sync_notmuch: True
sync_time: 5min
sync_boot_delay: 2min
sync_on: trusted

View file

@ -18,6 +18,9 @@ then
{% endif %}
{% if mail.sync_taskwarrior %}
task sync
{% endif %}
{% if mail.sync_notmuch %}
notmuch new
{% endif %}
exit $?
fi