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