diff options
Diffstat (limited to 'mutt')
-rwxr-xr-x | mutt/notmuch-hook.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index eec6680..29fe9dc 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -5,14 +5,18 @@ notmuch new # retag all "new" messages "inbox" and "unread" notmuch tag +inbox +unread -new -- tag:new -# tag all messages from "me" as sent and rmeove tags inbox and unread -notmuch tag -new -unread -inbox +sent -- from:ben@bsima.me or from:bsima@me.com +# tag all messages from "me" as sent +notmuch tag +sent -- from:ben@bsima.me + +# tag TODOs from myself +notmuch tag +todo -- subject:TODO # tag some newsletters, but don't show them in inbox -notmuch tag +newsletters -new -inbox -- \ +notmuch tag +newsletters -inbox -- \ from:the-morning-paper@onelanday.co.uk or \ from:newsletter@fightaging.org or \ - subject:'The Reading List Email*' + subject:'The Reading List Email*' or \ + from:info@haskellweekly.news # tag logwatch emails & remove from inbox notmuch tag +logwatch -new -inbox -- subject:'Logwatch*' |