From 939000ccf2c3e54d1d50d3ae3f5b4e06a3fa3b69 Mon Sep 17 00:00:00 2001 From: Bence Ferdinandy Date: Wed, 10 Apr 2024 20:08:01 +0200 Subject: 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 Acked-by: Robin Jarry --- config/hooks.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/hooks.go b/config/hooks.go index bd053e95..ea291e92 100644 --- a/config/hooks.go +++ b/config/hooks.go @@ -8,6 +8,7 @@ import ( type HooksConfig struct { AercStartup string `ini:"aerc-startup"` AercShutdown string `ini:"aerc-shutdown"` + FlagChanged string `ini:"flag-changed"` MailReceived string `ini:"mail-received"` MailDeleted string `ini:"mail-deleted"` MailAdded string `ini:"mail-added"` -- cgit