aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/services/desktop.scm1
-rw-r--r--tw/services/files/aerc/templates/quoted_reply8
2 files changed, 9 insertions, 0 deletions
diff --git a/tw/services/desktop.scm b/tw/services/desktop.scm
index 74dec352..6d9edfa8 100644
--- a/tw/services/desktop.scm
+++ b/tw/services/desktop.scm
@@ -483,6 +483,7 @@ proprietary NVIDIA driver?"))
("aerc/binds.conf" ,(local-file "files/aerc/binds.conf"))
("aerc/filters" ,(local-file "files/aerc/filters" #:recursive? #t))
("aerc/stylesets/catppuccin" ,(local-file "files/aerc/catppuccin.conf"))
+ ("aerc/templates" ,(local-file "files/aerc/templates" #:recursive? #t))
("vdirsyncer/config" ,(if work?
(local-file "files/vdirsyncer.work.conf")
(local-file "files/vdirsyncer.conf")))
diff --git a/tw/services/files/aerc/templates/quoted_reply b/tw/services/files/aerc/templates/quoted_reply
new file mode 100644
index 00000000..74585ee8
--- /dev/null
+++ b/tw/services/files/aerc/templates/quoted_reply
@@ -0,0 +1,8 @@
+X-Mailer: aerc {{version}}
+
+On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote:
+{{if eq .OriginalMIMEType "text/html"}}
+{{exec `lynx -display_charset=UTF-8 -dump -stdin` .OriginalText | quote}}
+{{else}}
+{{trimSignature .OriginalText | quote}}
+{{end}}