From bc534e2026af82b97e2cbdc78c7b5e1a213a265e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 13 Nov 2020 08:54:24 +0100 Subject: [PATCH] mail: Re-enable tagging by folder for notmuch Should help aerc decide what to show in inbox and what to leave out. --- mail/.local/bin/mail-check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail/.local/bin/mail-check b/mail/.local/bin/mail-check index 0fb8657..217833d 100755 --- a/mail/.local/bin/mail-check +++ b/mail/.local/bin/mail-check @@ -35,6 +35,7 @@ posthook() { afew --tag --new afew --move-mail --new afew --tag --new + notmuch_foldertags countnew } @@ -121,6 +122,7 @@ notmuch_foldertags() { notmuch tag +dump -inbox -deleted -- folder:Dump and not folder:Inbox notmuch tag +archived -inbox -deleted -- folder:Archive and not folder:Inbox notmuch tag +deleted -inbox -archived -- folder:Trash and not folder:Inbox + notmuch tag -inbox -- not folder:Inbox } main