to avoid user conflicts

This commit is contained in:
Luke Smith 2019-04-26 21:19:11 -04:00
parent c2247a2188
commit 6faf22488c
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -14,12 +14,12 @@ else
notify() { notify-send "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;}
fi
echo " 🔃" > /tmp/imapsyncicon
echo " 🔃" > /tmp/imapsyncicon_$USER
pkill -RTMIN+12 i3blocks
# Run mbsync. You can feed this script different settings.
mbsync -a "$@"
rm -f /tmp/imapsyncicon
rm -f /tmp/imapsyncicon_$USER
pkill -RTMIN+12 i3blocks
# Check all accounts/mailboxes for new mail. Notify if there is new content.