mutt-wizard

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 06e82c8a1029adfeed3b7761a6200bfe25c9071f
parent 1d6dc7b8f6d299167905d02fd948c07e624ae2fb
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 28 Feb 2025 09:34:59 +0000

Merge pull request #967 from appeasementPolitik/patch-1

Fix notify-send not coming through with goimapnotify
Diffstat:
Mbin/mailsync | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/mailsync b/bin/mailsync @@ -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.