diff options
-rw-r--r-- | notmuch/.config/afew/config | 5 | ||||
-rw-r--r-- | notmuch/.config/notmuch/default/config | 2 | ||||
-rwxr-xr-x | notmuch/.config/notmuch/default/hooks/post-new | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/notmuch/.config/afew/config b/notmuch/.config/afew/config index af49a4d..ce67e60 100644 --- a/notmuch/.config/afew/config +++ b/notmuch/.config/afew/config @@ -3,6 +3,11 @@ [KillThreadsFilter] [SentMailsFilter] sent_tag = sent +[Filter.0] +message = notify +query = tag:new +tags_blacklist = killed;spam +tags = +notify [InboxFilter] [MailMover] folders = tobyvin.dev/tobyv/INBOX tobyvin.dev/tobyv/Archive tobyvin.dev/tobyv/Junk diff --git a/notmuch/.config/notmuch/default/config b/notmuch/.config/notmuch/default/config index 530b1bb..75f4f5f 100644 --- a/notmuch/.config/notmuch/default/config +++ b/notmuch/.config/notmuch/default/config @@ -5,7 +5,7 @@ name=Toby Vincent primary_email=tobyv@tobyvin.dev other_email=postmaster@tobyvin.dev;hostmaster@tobyvin.dev;webmaster@tobyvin.dev;tobyv13@gmail.com;tovince@siue.edu; [new] -tags=new;notify +tags=new ignore=.mbsyncstate;.uidvalidity;addressbook.tsv;mujmap.toml; [maildir] synchronize_flags=true diff --git a/notmuch/.config/notmuch/default/hooks/post-new b/notmuch/.config/notmuch/default/hooks/post-new index 70c4dae..6f4c03f 100755 --- a/notmuch/.config/notmuch/default/hooks/post-new +++ b/notmuch/.config/notmuch/default/hooks/post-new @@ -1,4 +1,4 @@ #!/bin/sh -~/.local/lib/notmuch/notmuch-notify.py afew -C "$XDG_CONFIG_HOME"/notmuch/default/config --tag --new +~/.local/lib/notmuch/notmuch-notify.py |