many updates
[dotfiles.git] / email / .local / bin / newmail.sh
index 94d5945..16c2888 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
 notmuch new
-vdirsyncer sync
 killall -s SIGUSR1 slstatus
+if [ "$OFFLINEIMAPSYNCMODE" = full ]
+then
+       vdirsyncer sync --max-workers=1
+fi