From f2492549aabbf6359765880bda06188b132b2026 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 19 Sep 2024 15:05:48 +0200 Subject: Minor fixes for annoying things in aerc * Make the :envelope dialog larger, so long header values can be seen. * Fix duplicate information in status line. * Remove extraneous empty line between reply header and quoted content. --- tw/services/files/aerc/aerc.conf | 7 +++++-- tw/services/files/aerc/templates/quoted_reply | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'tw/services') diff --git a/tw/services/files/aerc/aerc.conf b/tw/services/files/aerc/aerc.conf index ea55e049..66ea56eb 100644 --- a/tw/services/files/aerc/aerc.conf +++ b/tw/services/files/aerc/aerc.conf @@ -30,6 +30,9 @@ threading-enabled=true next-message-on-delete=false +# Show long headers in the ":envelope" popover dialog. +dialog-width=95 +dialog-height=67 sidebar-width=24 styleset-name=catppuccin @@ -53,8 +56,8 @@ icon-invalid=⚠ [statusline] status-columns=left<*,centre>=,right>* column-left=[{{.Account}}] {{.StatusInfo}} -column-centre={{.PendingKeys}} -column-right={{.ContentInfo}} {{.TrayInfo}} +column-centre= +column-right={{.PendingKeys}} {{.TrayInfo}} # Defines the mode for displaying the status elements. # Options: text, icon diff --git a/tw/services/files/aerc/templates/quoted_reply b/tw/services/files/aerc/templates/quoted_reply index 960827b7..a6116dfd 100644 --- a/tw/services/files/aerc/templates/quoted_reply +++ b/tw/services/files/aerc/templates/quoted_reply @@ -1,8 +1,8 @@ X-Mailer: aerc {{version}} On {{dateFormat (.OriginalDate | toLocal) "Mon 2 Jan 2006 at 3:04 pm MST"}}, {{(index .OriginalFrom 0).Name}} wrote: -{{if eq .OriginalMIMEType "text/html"}} +{{- if eq .OriginalMIMEType "text/html"}} {{exec `lynx -display_charset=UTF-8 -dump -stdin` .OriginalText | quote}} -{{else}} +{{- else}} {{trimSignature .OriginalText | quote}} -{{end}} +{{- end}} -- cgit v1.2.3