瀏覽代碼

Merge 8e35e474c5 into 7129fa0597

pull/1000/merge
Jonáš Dujava 3 月之前
committed by GitHub
父節點
當前提交
e4bcdb6ffc
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      bin/mailsync

+ 3
- 3
bin/mailsync 查看文件

@@ -63,11 +63,11 @@ syncandnotify() {
newcount=$(echo "$new" | sed '/^\s*$/d' | wc -l)
case 1 in
$((newcount > 5)) )
echo "$newcount new mail for $2."
[ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mail(s) in \`$2\` account."
echo "$newcount new mails for $2."
[ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mails in \`$2\` account."
;;
$((newcount > 0)) )
echo "$newcount new mail for $2."
echo "$newcount new mail(s) for $2."
[ -z "$MAILSYNC_MUTE" ] &&
for file in $new; do
# Extract and decode subject and sender from mail.


Loading…
取消
儲存