tag all tagged events (event.foobar) with the general 'event' tag

This commit is contained in:
2021-01-14 10:11:08 +01:00
parent cc6fc53333
commit e135d0bd55
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,7 @@
"tags_upper_color": "#e5e5e5",
"tags_lower_color": "#333333",
"tags_alpha": "0.5",
"hidden_tags": "unread,sent,signed,replied,encrypted,del,attachment,flagged,inbox"
"hidden_tags": "unread,sent,signed,replied,encrypted,del,attachment,flagged,inbox,event"
},
"thread_load_step": "250"
},

View File

@@ -43,6 +43,9 @@ notmuch tag +archive -- path:ARCHIVE/**
echo "[DEBUG] Tag mails in in INBOX folder"
notmuch tag +inbox -- path:INBOX/**
# Tag all tagged events with the general "event" tag
notmuch tag +event -- tag:"/event.*/"
# Automatic tagging based on location of mails in folders
echo "[DEBUG] Tag mails based on their folder (tag-folder.sh)"
bash $CURDIR/scripts/tag-folder.sh # generates commands from tag-folder.csv