From bac52736723c1c4ed853d06ce98aafa39afc5ef9 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Mon, 8 May 2023 09:45:07 -0500 Subject: Update aerc --- .config/aerc/accounts.conf | 1 - .config/aerc/aerc.conf | 16 ++++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to '.config') diff --git a/.config/aerc/accounts.conf b/.config/aerc/accounts.conf index 4a932fc..740c948 100644 --- a/.config/aerc/accounts.conf +++ b/.config/aerc/accounts.conf @@ -1,7 +1,6 @@ [Michael] source = maildir://~/mail outgoing = smtps+plain://michael@mail.huntm.net -smtp-starttls = yes from = Michael Hunteman copy-to = Sent outgoing-cred-cmd = pass Email/huntm.net diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index eb16ed6..abbc490 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -24,9 +24,11 @@ unsafe-accounts-conf=false # Describes the format for each row in a mailbox view. This field is compatible # with mutt's printf-like syntax. # -# Default: %D %-17.17n %Z %s -index-format=%D %-17.17n %Z %s -# index-format=%-20.20D %-17.17n %Z %s +index-columns = date<*,name<17,flags>4,subject<* +column-date = {{.DateAutoFormat .Date.Local}} +column-name = {{index (.From | names) 0}} +column-flags = {{.Flags | join ""}} +column-subject = {{.ThreadPrefix}}{{.Subject}} # # See time.Time#Format at https://godoc.org/time#Time.Format @@ -97,7 +99,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}} # Delay after which the messages are actually listed when entering a directory. # This avoids loading messages when skipping over folders and makes the UI more @@ -182,8 +185,9 @@ completion-popovers=true [statusline] # Describes the format string for the statusline. # -# Default: [%a] %S %>%T -render-format=[%a] %S %>%T +status-columns=left<*,right>* +column-left=[{{.Account}}] {{.StatusInfo}} +column-right={{.TrayInfo}} # Specifies the separator between grouped statusline elements. # -- cgit v1.2.3