diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-02-18 20:44:25 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-02-18 20:44:25 -0500 |
commit | a42bd50f4a426872887355c5abff196ad68d2ad9 (patch) | |
tree | 9e2ee44f872ced7ec8c85cfaefdb9c3bae0a8d37 /etc | |
parent | 542ae0081ff3f127689caa0b98fa3543532ce0f3 (diff) |
sync icon moved to tmp
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/mailsync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/mailsync.sh b/etc/mailsync.sh index d8615ad..6068464 100755 --- a/etc/mailsync.sh +++ b/etc/mailsync.sh @@ -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. |