From 1ea848668a8bb65e77c0779f19ed05740138f365 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Sat, 1 Apr 2023 23:41:53 +0200 Subject: [PATCH] aerc: templates everywhere, apparently --- config/aerc/aerc.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/aerc/aerc.conf b/config/aerc/aerc.conf index bac9c73..6ff4fb6 100644 --- a/config/aerc/aerc.conf +++ b/config/aerc/aerc.conf @@ -22,7 +22,11 @@ collapse-replacement=" " # with mutt's printf-like syntax. # # Default: %D %-17.17n %Z %s -index-format=%D %-17.17n %Z %s +index-columns = date<*,name<17,flags>4,subject<* +column-date = {{.DateAutoFormat .Date.Local}} +column-name = {{index (.From | names) 0}} +column-subject = {{.ThreadPrefix}}{{.Subject}} +column-date = {{.DateAutoFormat .Date.Local}} # # See time.Time#Format at https://godoc.org/time#Time.Format @@ -66,7 +70,8 @@ pinned-tab-marker='`' # Describes the format string to use for the directory list # # Default: %n %>r -dirlist-format=%n %>r +dirlist-left = {{.Folder}} +dirlist-right = {{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}} dirlist-tree=true # List of space-separated criteria to sort the messages by, see *sort* -- 2.45.2