aboutsummaryrefslogtreecommitdiff
path: root/syncMail.sh
blob: 222ba2ca60a1f5c90087c22ae9415da1ed5f10e8 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Calls mbsync (isync binary) to syncronize mailboxes

[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"
mbsync -c ~/.config/isync/gmmbsyncrc -a
mbsync -c ~/.config/isync/drmbsyncrc -a
[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"