use afew for tagging
This commit is contained in:
parent
9fd709b6f2
commit
20f299ed36
6 changed files with 194 additions and 11 deletions
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# some filtering
|
||||
notmuch tag +killed -new -unread -- subject:'^[SPAM]' to:ugent
|
||||
# filtering spam
|
||||
afew --tag --new -e SpamFilter,KnownSpammers
|
||||
notmuch tag -new -- tag:spam and tag:new
|
||||
|
||||
# notify for new messages
|
||||
notmuch search tag:new | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notify-send
|
||||
|
||||
# processed new messages are no longer new
|
||||
notmuch tag -new -- tag:new
|
||||
|
||||
# tagging messages
|
||||
afew --tag --new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue