aboutsummaryrefslogtreecommitdiff
path: root/tw/services
diff options
context:
space:
mode:
authorTimo Wilken2024-09-19 15:05:48 +0200
committerTimo Wilken2024-09-19 15:05:48 +0200
commitf2492549aabbf6359765880bda06188b132b2026 (patch)
tree45b83f140dc3a3cfaf3907716174070300c2316d /tw/services
parent6baf53b266cc969786feffd32e3347bf7760fca9 (diff)
Minor fixes for annoying things in aercHEADmaster
* 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.
Diffstat (limited to 'tw/services')
-rw-r--r--tw/services/files/aerc/aerc.conf7
-rw-r--r--tw/services/files/aerc/templates/quoted_reply6
2 files changed, 8 insertions, 5 deletions
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}}