aerc: Add notmuch inbox mapping
Some simple mapping (inbox, sent, trash, archive, drafts) to the Personal map file, with the option to extend for private mappings with dotter.
This commit is contained in:
parent
547e9e9971
commit
38b02f5680
3 changed files with 18 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ pass = "~"
|
|||
"office/.config/isync/mbsyncrc" = { target = "~/.config/isync/mbsyncrc", type = "template" }
|
||||
"office/.config/msmtp/config" = { target = "~/.config/msmtp/config", type = "template" }
|
||||
"office/.config/aerc/accounts.conf" = { target = "~/.config/aerc/accounts.conf", type = "template" }
|
||||
"office/.config/aerc/Personal.qmap" = { target = "~/.config/aerc/Personal.qmap", type = "template" }
|
||||
"office/.config/neomutt/account" = { target = "~/.config/neomutt/account", type = "template" }
|
||||
"office/.config/neomutt/profile.gmail" = { target = "~/.config/neomutt/profile.gmail", type = "template" }
|
||||
"office/.config/neomutt/profile.private" = { target = "~/.config/neomutt/profile.private", type = "template" }
|
||||
|
|
|
|||
|
|
@ -26,3 +26,4 @@ mail_notmuch_other_email = ""
|
|||
|
||||
mail_aerc_from_email = ""
|
||||
mail_aerc_aliases_email = ""
|
||||
mail_aerc_notmuch_label_map = ["list = tag:list and not tag:trash"]
|
||||
|
|
|
|||
16
office/.config/aerc/Personal.qmap
Normal file
16
office/.config/aerc/Personal.qmap
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Inbox = tag:inbox AND not tag:list
|
||||
Archive = tag:archive AND not tag:junk AND not tag:spam
|
||||
All = '*'
|
||||
Drafts = tag:draft
|
||||
Sent = tag:sent
|
||||
Trash = tag:trash
|
||||
|
||||
# tags
|
||||
label/unread = tag:unread and not tag:trash
|
||||
label/replied = tag:replied and not tag:trash
|
||||
label/important = tag:flagged or tag:important and not tag:trash
|
||||
label/junk = tag:junk and not tag:trash
|
||||
|
||||
{{#each mail_aerc_notmuch_label_map}}
|
||||
{{this}}
|
||||
{{/each}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue