aboutsummaryrefslogtreecommitdiff
path: root/syncMail.sh
blob: ecaa05a7dcef8298a1534ecfe6f8458be8d17648 (plain)
1
2
3
4
5
6
7
8
9
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