From 6faf22488ce0e9b5b58ad93bff7197a0156423b6 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 26 Apr 2019 21:19:11 -0400 Subject: [PATCH] to avoid user conflicts --- bin/mailsync | 4 ++-- 1 file 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.