diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-04-10 20:08:01 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-04-14 11:51:00 +0200 |
commit | 939000ccf2c3e54d1d50d3ae3f5b4e06a3fa3b69 (patch) | |
tree | cec40ad16557021aabdb9a99fdda358a8101e4ec /doc | |
parent | cee5d5a3f602e5db0ca3feb6e0754c1bb0059f36 (diff) | |
download | aerc-939000ccf2c3e54d1d50d3ae3f5b4e06a3fa3b69.tar.gz |
hooks: add flag-changed
Add the flag-changed hook.
References: https://todo.sr.ht/~rjarry/aerc/136
Changelog-added: New `flag-changed` hook.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc-config.5.scd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 3912b3da..d7eb81ee 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -1265,6 +1265,19 @@ They are configured in the *[hooks]* section of aerc.conf. - *AERC_TAG_ADDED* - *AERC_TAG_REMOVED* +*flag-changed* = _<command>_ + Executed when flags are changed on a message. + + Variables: + + - *AERC_ACCOUNT* + - *AERC_FOLDER* + - *AERC_FLAG* + + Example: + + *mail-added* = _mbsync "$AERC_ACCOUNT:$AERC_FOLDER"_ + # TEMPLATES Template files are used to populate the body of an email. The *:compose*, |