diff --git a/config/alot/config b/config/alot/config index 2fbc0a7..6bb882e 100644 --- a/config/alot/config +++ b/config/alot/config @@ -45,4 +45,4 @@ prefer_plaintext = True [bindings] t = toggletags selected; move down - x = 'toggletags inbox,killed' \ No newline at end of file + x = 'toggletags inbox,killed' diff --git a/notmuch-hooks/post-new b/notmuch-hooks/post-new index 7801075..7eb4d6f 100755 --- a/notmuch-hooks/post-new +++ b/notmuch-hooks/post-new @@ -7,7 +7,7 @@ notmuch search tag:new | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notmuch tag +inbox -new -- tag:new # some filtering -notmuch tag +killed -- subject:'^\[SPAM\]' to:ugent +notmuch tag +killed -- subject:'^[SPAM]' to:ugent # remove killed thread from inbox notmuch tag -inbox -- tag:killed