aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Aertsen <maarten@nlnetlabs.nl>2024-04-16 09:03:24 +0200
committerRobin Jarry <robin@jarry.cc>2024-04-16 09:50:34 +0200
commit154607271a4b67a31901fc466a420bc3b15781b0 (patch)
tree0c5f644e56ad0e104f93d7f5b5b9d8c4781a99aa
parent762242d269856340410963299de444b208bf62db (diff)
downloadaerc-154607271a4b67a31901fc466a420bc3b15781b0.tar.gz
config: add flag-changed hook to default config
Add `flag-changed=` to the hooks section of aerc.conf, with a (commented) default corrensponding to the docs. Signed-off-by: Maarten Aertsen <maarten@nlnetlabs.nl> Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--config/aerc.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 5fa1e6f1..f74d1c0f 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -809,6 +809,10 @@ message/rfc822=colorize
# Executed when aerc shuts down.
#aerc-shutdown=
+#
+# Executed when flags are changed on a message.
+#flag-changed=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
+
[templates]
# Templates are used to populate email bodies automatically.
#