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