summaryrefslogtreecommitdiff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-26 21:19:11 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-26 21:19:11 -0400
commit6faf22488ce0e9b5b58ad93bff7197a0156423b6 (patch)
tree91923c37a89f3e41363fd4accac6f434ee04ee1e /bin/mailsync
parentc2247a218857523509436dab70c0b911bbaf3725 (diff)
to avoid user conflicts
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-xbin/mailsync4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mailsync b/bin/mailsync
index 854a4ba..620557c 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -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.