aboutsummaryrefslogtreecommitdiff
path: root/syncMail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'syncMail.sh')
-rwxr-xr-xsyncMail.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/syncMail.sh b/syncMail.sh
new file mode 100755
index 0000000..ecaa05a
--- /dev/null
+++ b/syncMail.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Calls mbsync (isync binary) to syncronize mailboxes
+
+echo "🔃" > /tmp/imapsyncicon
+pkill -SIGRTMIN+15 i3blocks
+mbsync -c ~/.config/isync/gmmbsyncrc -a
+mbsync -c ~/.config/isync/uombsyncrc -a
+rm /tmp/imapsyncicon
+pkill -SIGRTMIN+15 i3blocks