diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-06-18 17:24:35 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-06-18 17:40:33 +0900 |
commit | f561b1396d1d5e468e4f28f99937dce31079d0d7 (patch) | |
tree | 11ff52c01e7643d87eedf19661e4f4dc80c08e54 | |
parent | ac7c886ebf7f77bbecf46a8cb73622e53cfa3eb5 (diff) | |
download | dotfiles-f561b1396d1d5e468e4f28f99937dce31079d0d7.tar.gz |
Update for aerc 0.15
-rw-r--r-- | aerc/.config/aerc/aerc.conf | 17 |
1 files 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 " |