aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files/aerc/aerc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files/aerc/aerc.conf')
-rw-r--r--tw/home/files/aerc/aerc.conf16
1 files changed, 12 insertions, 4 deletions
diff --git a/tw/home/files/aerc/aerc.conf b/tw/home/files/aerc/aerc.conf
index b2d5caed..7473bc8b 100644
--- a/tw/home/files/aerc/aerc.conf
+++ b/tw/home/files/aerc/aerc.conf
@@ -9,7 +9,12 @@ unsafe-accounts-conf=true
[ui]
# Describes the format for each row in a mailbox view. This field is compatible
# with mutt's printf-like syntax.
-index-format=%4C %Z %D %-17.17F %s
+index-columns=num>4,flags>4,date<21,peers<17,subject<*
+column-num={{.Number}}
+column-flags={{.Flags | join ""}}
+column-date={{.DateAutoFormat .Date.Local}}
+column-peers={{.Peer | names | join ", "}}
+column-subject={{.ThreadPrefix}}{{.Subject}}
# See time.Time#Format at https://godoc.org/time#Time.Format
timestamp-format=Mon _2 Jan 2006 15:04
@@ -44,7 +49,10 @@ icon-invalid=⚠
#fuzzy-complete=false
[statusline]
-render-format=[%a %p] %S %>%T
+status-columns=left<*,centre>=,right>*
+column-left=[{{.Account}}] {{.StatusInfo}}
+column-centre={{.PendingKeys}}
+column-right={{.ContentInfo}} {{.TrayInfo}}
# Defines the mode for displaying the status elements.
# Options: text, icon
@@ -144,6 +152,6 @@ text/html=lynx -display_charset=UTF-8 -force_html -dump -stdin
application/pdf=zathura
image/*=imv
-[triggers]
+[hooks]
# Executed when a new email arrives in the selected folder
-new-email=exec dunstify -a aerc -i mail-unread "New mail from %n" "%s"
+new-email=dunstify -a aerc -i mail-unread "New mail from $AERC_FROM_NAME" "$AERC_SUBJECT"