From f561b1396d1d5e468e4f28f99937dce31079d0d7 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 18 Jun 2023 17:24:35 +0900 Subject: Update for aerc 0.15 --- aerc/.config/aerc/aerc.conf | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index bbe4282..ef91e1d 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -25,12 +25,11 @@ pgp-provider=gpg unsafe-accounts-conf=false [ui] -# -# 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 %-14.14a %-1.1Z %s +index-columns = date<16,sender<14,flags>1,subject<* +column-date = {{.DateAutoFormat .Date.Local}} +column-sender = {{(index .From 0).Address}} +column-flags = {{.Flags | join ""}} +column-subject = {{.Subject}} # # See time.Time#Format at https://godoc.org/time#Time.Format @@ -71,10 +70,8 @@ new-message-bell=true # Default: ` 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}} # List of space-separated criteria to sort the messages by, see *sort* # command in *aerc*(1) for reference. Prefixing a criterion with "-r " -- cgit 1.4.1