From 6e02f366c9c852401d51fe1b6458e7418073c180 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Thu, 5 Sep 2024 19:10:13 -0500 Subject: fix(notmuch): temp revert afew config, plan to ... replace afew with custom scripts soon. --- notmuch/.config/afew/config | 5 +++++ notmuch/.config/notmuch/default/config | 2 +- 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 -- cgit v1.2.3-70-g09d2