Skip to content

Commit

Permalink
sync icon moved to tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSmithxyz committed Feb 19, 2019
1 parent 542ae00 commit a42bd50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/mailsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ else
notify() { mpv --really-quiet ~/.config/mutt/etc/notify.opus & pgrep -x dunst && notify-send -i ~/.config/mutt/etc/email.gif "$2 new mail(s) in \`$1\` account." ;}
fi

echo " 🔃" > ~/.config/mutt/.dl
echo " 🔃" > /tmp/imapsyncicon
pkill -RTMIN+12 i3blocks

# Run offlineimap. You can feed this script different settings.
offlineimap -o "$@"
rm -f ~/.config/mutt/.dl
rm -f /tmp/imapsyncicon
pkill -RTMIN+12 i3blocks

# Check all accounts/mailboxes for new mail. Notify if there is new content.
Expand Down

0 comments on commit a42bd50

Please sign in to comment.