Browse Source

to avoid user conflicts

tags/v3.1
Luke Smith 5 years ago
parent
commit
6faf22488c
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/mailsync

+ 2
- 2
bin/mailsync 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.


Loading…
Cancel
Save