dotfiles.git

commit c10ca0a8be25964d1c7ba928d5ca9eea54c91e8b

Author: Adam <git@apiote.xyz>

aerc update

 .config/aerc/aerc.conf | 14 ++++++--------


diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index ec023994e0309124a678da2672d1d493dcf14ad8..43ce2af896556decdb459117c2f01e9e3b799e98 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -5,13 +5,10 @@ [general]
 pgp-provider=gpg
 
 [ui]
-#
-# Describes the format for each row in a mailbox view. This field is compatible
-# with mutt's printf-like syntax. TODO: document properly
-#
-# Default:
-index-format=%D %-17.17n %s
-
+index-columns = date<*,name<17,subject<*
+column-date = {{.DateAutoFormat .Date.Local}}
+column-name = {{index (.From | names) 0}}
+column-subject = {{.ThreadPrefix}}{{.Subject}}
 #
 # See time.Time#Format at https://godoc.org/time#Time.Format
 #
@@ -79,5 +76,6 @@ # against (non-case-sensitive) and a comma, e.g. subject,text will match a
 # subject which contains "text". Use header,~regex to match against a regex.
 subject,~^\[PATCH=awk -f /usr/share/aerc/filters/hldiff
 text/html=/home/adam/.local/share/aerc/html-filter
-text/*=awk -f /usr/share/aerc/filters/plaintext
+text/plain=cat
+#text/*=awk -f /usr/share/aerc/filters/plaintext
 image/*=catimg -w $(tput cols) -