From f10b184eb34634b9642fa83ef0f1cd8d0687a4af Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Wed, 15 Mar 2023 22:40:38 +0100 Subject: hooks: add aerc-startup hook Add a hook to run when aerc starts up. The environment is supplemented with aerc version and the path to its binary. References: https://todo.sr.ht/~rjarry/aerc/136 References: https://todo.sr.ht/~rjarry/aerc/139 Signed-off-by: Moritz Poldrack Signed-off-by: Robin Jarry Tested-by: Bence Ferdinandy --- config/hooks.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config/hooks.go') diff --git a/config/hooks.go b/config/hooks.go index 9bbd9031..41fc8026 100644 --- a/config/hooks.go +++ b/config/hooks.go @@ -8,6 +8,7 @@ import ( ) type HooksConfig struct { + AercStartup string `ini:"aerc-startup"` MailReceived string `ini:"mail-received"` } -- cgit