瀏覽代碼

sync icon moved to tmp

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
a42bd50f4a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      etc/mailsync.sh

+ 2
- 2
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.


Loading…
取消
儲存