aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-templates.7.scd
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-01-26 10:16:43 -0600
committerRobin Jarry <robin@jarry.cc>2023-01-29 21:47:11 +0100
commit6b39c0dae1e1c42445a2d8557e48135b02fc729b (patch)
treed65d2898424178203c0be52c56c255f96f8d51ee /doc/aerc-templates.7.scd
parentdb60d7edeceaec075f91a802968c397698798d50 (diff)
downloadaerc-6b39c0dae1e1c42445a2d8557e48135b02fc729b.tar.gz
tabs: use template for account tab name
Use a go template to render the account tab display. Add config option for setting a specific template for the account. Add a method on Tab to allow setting a title, which may be different than the tab Name. The default template is {{.Account}}. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-templates.7.scd')
-rw-r--r--doc/aerc-templates.7.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index 8e616188..87713429 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -148,6 +148,11 @@ available always.
{{.Folder}}
```
+ Current message counts
+ ```
+ {{.Recent}} {{.Unread}} {{.Exists}}
+ ```
+
# TEMPLATE FUNCTIONS
Besides the standard functions described in go's text/template documentation,