diff options
author | Robin Jarry <robin@jarry.cc> | 2023-02-03 13:14:35 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-20 14:48:42 +0100 |
commit | 6cfbc87d8ab0be8d264d81b0b1f26e7b96719dfc (patch) | |
tree | c09b6b671bd90504ce0e90512b39b31f650f37fb /models/templates.go | |
parent | d74400ac07a9f149e89fdf2b7232ffc6871f8553 (diff) | |
download | aerc-6cfbc87d8ab0be8d264d81b0b1f26e7b96719dfc.tar.gz |
dirlist: use templates instead of % mini language
Replace dirlist-format with two settings: dirlist-left & dirlist-right.
These two settings take aerc-templates(7) and may be left empty.
Add automatic translation of dirlist-format to these new settings.
Display a warning on startup if dirlist-format has been converted.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'models/templates.go')
-rw-r--r-- | models/templates.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/templates.go b/models/templates.go index c07f3dbd..4886b83c 100644 --- a/models/templates.go +++ b/models/templates.go @@ -33,6 +33,7 @@ type TemplateData interface { Recent(folders ...string) int Unread(folders ...string) int Exists(folders ...string) int + RUE(folders ...string) string Connected() bool ConnectionInfo() string ContentInfo() string |