Browse Source

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

master
mxmehl 1 year ago
parent
commit
e135d0bd55
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 2
      astroid/config
  2. 3
      astroid/poll.sh

2
astroid/config

@ -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"
},

3
astroid/poll.sh

@ -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

Loading…
Cancel
Save