summaryrefslogtreecommitdiff
path: root/.config/aerc
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2023-05-08 09:45:07 -0500
committerMichael Hunteman <michael@huntm.net>2023-07-08 18:48:54 -0500
commitbac52736723c1c4ed853d06ce98aafa39afc5ef9 (patch)
tree8181038691701246426bb257302b304b2c55690b /.config/aerc
parenta9fbab3710fce773c3360bf556901f691fd6e0c9 (diff)
Update aerc
Diffstat (limited to '.config/aerc')
-rw-r--r--.config/aerc/accounts.conf1
-rw-r--r--.config/aerc/aerc.conf16
2 files changed, 10 insertions, 7 deletions
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 <michael@huntm.net>
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.
#