From cee5d5a3f602e5db0ca3feb6e0754c1bb0059f36 Mon Sep 17 00:00:00 2001 From: Bence Ferdinandy Date: Wed, 10 Apr 2024 20:08:00 +0200 Subject: hooks: add tag-modified Add the tag-modified hook for notmuch and JMAP accounts. References: https://todo.sr.ht/~rjarry/aerc/136 Changelog-added: New `tag-modified` hook for notmuch and JMAP accounts. Signed-off-by: Bence Ferdinandy Acked-by: Robin Jarry --- doc/aerc-config.5.scd | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/aerc-config.5.scd') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index d457e0ab..3912b3da 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -1255,6 +1255,16 @@ They are configured in the *[hooks]* section of aerc.conf. - *AERC_LIFETIME* +*tag-modified* = __ + Executed when notmuch tags are modified in a notmuch account. The list + of added and removed tags are passed as variables. + + Variables: + + - *AERC_ACCOUNT* + - *AERC_TAG_ADDED* + - *AERC_TAG_REMOVED* + # TEMPLATES Template files are used to populate the body of an email. The *:compose*, -- cgit