aboutsummaryrefslogtreecommitdiff
path: root/modules/email.home/aerc.conf
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-05-27 11:13:06 +0530
committerAkshay Nair <phenax5@gmail.com>2025-05-27 11:13:06 +0530
commit4242a01983eb57ac44d5fcfbda75339d486ea4f1 (patch)
tree3ba2952ec94b76fcbf88f326db4abe776abeb54f /modules/email.home/aerc.conf
parent73a49b61fddb77107cb692fa70b8dc361952e556 (diff)
downloadnixos-config-4242a01983eb57ac44d5fcfbda75339d486ea4f1.tar.gz
nixos-config-4242a01983eb57ac44d5fcfbda75339d486ea4f1.zip
Refactor email setup + add email sender to notification
Diffstat (limited to 'modules/email.home/aerc.conf')
-rw-r--r--modules/email.home/aerc.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/email.home/aerc.conf b/modules/email.home/aerc.conf
new file mode 100644
index 0000000..5585d25
--- /dev/null
+++ b/modules/email.home/aerc.conf
@@ -0,0 +1,26 @@
+[general]
+enable-osc8 = true
+unsafe-accounts-conf = true
+
+[ui]
+auto-mark-read = true
+
+[viewer]
+parse-http-links = true
+
+[compose]
+editor = nvim
+file-picker-cmd = lf -selection-path=%f
+empty-subject-warning = true
+no-attachment-warning = ^[^>]*attach(ed|ment)
+
+[filters]
+text/plain=bat -f --paging=never --file-name="$AERC_SUBJECT ($AERC_FROM)" --style=header,grid
+text/html=! w3m -I UTF-8 -T text/html
+text/*=bat -fP --file-name="$AERC_FILENAME" --style=plain
+application/pdf=pdftotext - -
+
+[openers]
+image/*=sxiv {}
+application/pdf=zathura {}
+