From 1d4eafb011f46966848d55f381160e846d0d50c8 Mon Sep 17 00:00:00 2001 From: Bence Ferdinandy Date: Mon, 1 Jul 2024 21:43:35 +0200 Subject: templates: add {{.AccountFrom}} template Add template variable to access the current account's From address. Implements: https://todo.sr.ht/~rjarry/aerc/150 Changelog-added: New `{{.AccountFrom}}` template variable. Signed-off-by: Bence Ferdinandy Tested-by: Koni Marti Acked-by: Robin Jarry --- doc/aerc-templates.7.scd | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd index 2c773bef..de160293 100644 --- a/doc/aerc-templates.7.scd +++ b/doc/aerc-templates.7.scd @@ -206,6 +206,13 @@ available always. {{.AccountBackend}} ``` + The current account's from address: + + ``` + {{.AccountFrom}} + {{.AccountFrom.Address}} + ``` + Currently selected mailbox folder: ``` -- cgit