~xdavidwu/dotfiles

48f25eee7a4723c3bf4512f1b1ff47a91bc28c37 — xdavidwu 1 year, 7 months ago 5b6fa2f
aerc: migrate config
2 files changed, 10 insertions(+), 7 deletions(-)

M .config/aerc/accounts.conf
M .config/aerc/aerc.conf
M .config/aerc/accounts.conf => .config/aerc/accounts.conf +0 -2
@@ 4,7 4,6 @@ source-cred-cmd = hiq -dFpassword host=gmail.com proto=email
outgoing      = smtp+plain://xdavidwuph%40gmail.com@smtp.gmail.com:587
outgoing-cred-cmd = hiq -dFpassword host=gmail.com proto=email
default       = INBOX
smtp-starttls = yes
from          = Pinghao Wu <xdavidwuph@gmail.com>
copy-to       = Sent



@@ 13,7 12,6 @@ source		= imaps://wuph0612@imap.cs.nctu.edu.tw
source-cred-cmd	= hiq -dFpassword host=cs.nctu.edu.tw 
outgoing	= smtps://wuph0612@smtp.cs.nctu.edu.tw
outgoing-cred-cmd	= hiq -dFpassword host=cs.nctu.edu.tw 
smtp-starttls	= yes
default		= INBOX
from		= 吳秉澔 <wuph0612@it.cs.nycu.edu.tw>
copy-to		= Sent

M .config/aerc/aerc.conf => .config/aerc/aerc.conf +10 -5
@@ 7,7 7,11 @@
# with mutt's printf-like syntax.
#
# Default: %D %-17.17n %Z %s
index-format=%D %-17.17n %Z %s
index-columns = date<20,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


@@ 51,7 55,8 @@ pinned-tab-marker='`'
# Describes the format string to use for the directory list
#
# Default: %n %>r
dirlist-format=%N %>r
dirlist-left = {{.Folder | compactDir}}
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 "


@@ 152,9 157,9 @@ address-book-cmd=
# You can also match on non-mimetypes, by prefixing with the header to match
# 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=/usr/share/aerc/filters/html
text/*=awk -f /usr/share/aerc/filters/plaintext
subject,~^\[PATCH=awk -f /usr/libexec/aerc/filters/hldiff
text/html=/usr/libexec/aerc/filters/html
text/*=awk -f /usr/libexec/aerc/filters/plaintext
#image/*=catimg -w $(tput cols) -

[triggers]