mail: Re-enable tagging by folder for notmuch

Should help aerc decide what to show in inbox and what to leave out.
This commit is contained in:
Marty Oehme 2020-11-13 08:54:24 +01:00
parent 047ae4c025
commit bc534e2026
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -35,6 +35,7 @@ posthook() {
afew --tag --new afew --tag --new
afew --move-mail --new afew --move-mail --new
afew --tag --new afew --tag --new
notmuch_foldertags
countnew countnew
} }
@ -121,6 +122,7 @@ notmuch_foldertags() {
notmuch tag +dump -inbox -deleted -- folder:Dump and not folder:Inbox notmuch tag +dump -inbox -deleted -- folder:Dump and not folder:Inbox
notmuch tag +archived -inbox -deleted -- folder:Archive 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 +deleted -inbox -archived -- folder:Trash and not folder:Inbox
notmuch tag -inbox -- not folder:Inbox
} }
main main