aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2023-03-15 22:40:39 +0100
committerRobin Jarry <robin@jarry.cc>2023-04-01 01:01:09 +0200
commitb46b2d22824a4feb351f27fff8dce3d6947b190b (patch)
tree1783a28419b533d0b43aa73073176fa321b7ed0a /config/aerc.conf
parentf10b184eb34634b9642fa83ef0f1cd8d0687a4af (diff)
downloadaerc-b46b2d22824a4feb351f27fff8dce3d6947b190b.tar.gz
hooks: add aerc-shutdown
Add a hook to run when aerc shuts down. The environment is supplemented with the duration aerc was alive for. References: https://todo.sr.ht/~rjarry/aerc/136 Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 110e8459..62d2ba92 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -518,6 +518,10 @@ message/rfc822=colorize
# Executed when aerc starts
#aerc-startup=aerc :terminal calcurse && aerc :next-tab
+#
+# Executed when aerc shuts down.
+#aerc-shutdown=
+
[templates]
# Templates are used to populate email bodies automatically.
#