Kaynağa Gözat

Merge pull request #967 from appeasementPolitik/patch-1

Fix notify-send not coming through with goimapnotify
pull/1009/head
Luke Smith 1 yıl önce
committed by GitHub
ebeveyn
işleme
06e82c8a10
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: B5690EEEBB952194
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      bin/mailsync

+ 2
- 2
bin/mailsync Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet