about summary refs log tree commit diff
path: root/aerc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-06-18 17:24:35 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-06-18 17:40:33 +0900
commitf561b1396d1d5e468e4f28f99937dce31079d0d7 (patch)
tree11ff52c01e7643d87eedf19661e4f4dc80c08e54 /aerc
parentac7c886ebf7f77bbecf46a8cb73622e53cfa3eb5 (diff)
downloaddotfiles-f561b1396d1d5e468e4f28f99937dce31079d0d7.tar.gz
Update for aerc 0.15
Diffstat (limited to 'aerc')
-rw-r--r--aerc/.config/aerc/aerc.conf17
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 "