aboutsummaryrefslogtreecommitdiff
path: root/doc/aerc-config.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/aerc-config.5.scd')
-rw-r--r--doc/aerc-config.5.scd13
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*,