summaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-08-28 12:37:58 -0700
committerBen Sima <ben@bsima.me>2018-08-28 12:37:58 -0700
commitbfac5b8210c52559a10b2d32aa05084c079fdc14 (patch)
tree0dc874ff8f44f3e881824959c14c909e7652726b /mutt
parent2ff6fd5b7f4f7a1e6333cee50c8f7159c205d1e7 (diff)
Mark TODOs (anything sent to myself) unread
Diffstat (limited to 'mutt')
-rwxr-xr-xmutt/notmuch-hook.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh
index bc4867d..5af81b5 100755
--- a/mutt/notmuch-hook.sh
+++ b/mutt/notmuch-hook.sh
@@ -6,10 +6,10 @@ notmuch new
notmuch tag +inbox +unread -new -- tag:new
# tag all messages from "me" as sent
-notmuch tag +sent -inbox -- from:ben@bsima.me
+notmuch tag +sent -inbox -unread -- from:ben@bsima.me
-# tag TODOs from myself
-notmuch tag +todo -inbox -- subject:TODO
+# tag TODOs from myself, always mark as unread so I'm forced to process them
+notmuch tag +todo -inbox +unread -- subject:TODO or from:ben@bsima.me and to:ben@bsima.me
# tag some newsletters, but don't show them in inbox
notmuch tag +newsletters -inbox -- \