add tower scripts

This commit is contained in:
2024-03-25 20:28:52 +01:00
parent ccabd90723
commit 3942447238
53 changed files with 605 additions and 0 deletions

9
notebook/notmuch-hook.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
notmuch new
# retag all "new" messages "inbox" and "unread"
notmuch tag +inbox +unread -new -- tag:new
# tag all messages from "me" as sent and remove tags inbox and unread
notmuch tag -new -inbox +sent -- from:me@example.org or from:me@myself.com
# tag newsletters, but dont show them in inbox
notmuch tag +newsletters +unread -new -- from:newsletter@example.org or subject:'newsletter*'