aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd9
-rw-r--r--doc/aerc-templates.7.scd5
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index 74481b10..4939cf3d 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -163,6 +163,15 @@ These options are configured in the *[ui]* section of _aerc.conf_.
Default: _true_
+*tab-title-account* = _<go_template>_
+ The template to use for account tab titles. See *aerc-templates*(7) for
+ available field names. To conditionally show the unread count next to
+ the account name, set to:
+
+ *tab-title-account* = {{.Account}} {{if .Unread}}({{.Unread}}){{end}}
+
+ Default: _{{.Account}}_
+
*pinned-tab-marker* = _"<string>"_
Marker to show before a pinned tab's name.
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,