about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-25 14:01:23 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-11-25 14:01:23 +0900
commita8fd231d6c936f7333177b219b397e9cfa659a63 (patch)
tree969b35a6e54afd57ec5f4e1a9325af5145712e63
parentb53f96565b8c4e8f8aaf6333c40c8e90e0c34677 (diff)
downloaddotfiles-a8fd231d6c936f7333177b219b397e9cfa659a63.tar.gz
Update aerc config matching new version
-rw-r--r--aerc/.config/aerc/aerc.conf49
1 files changed, 40 insertions, 9 deletions
diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf
index 2373f2d..bbe4282 100644
--- a/aerc/.config/aerc/aerc.conf
+++ b/aerc/.config/aerc/aerc.conf
@@ -1,6 +1,29 @@
 #
 # aerc main configuration
 
+[general]
+#
+# Used as a default path for save operations if no other path is specified.
+# ~ is expanded to the current user home dir.
+#
+# Default: ""
+default-save-path=~/Downloads
+
+#
+# If set to "gpg", aerc will use system gpg binary and keystore for all crypto
+# operations. Otherwise, the internal openpgp implementation will be used.
+#
+# Default: internal
+pgp-provider=gpg
+
+# By default, the file permissions of accounts.conf must be restrictive and
+# only allow reading by the file owner (0600). Set this option to true to
+# ignore this permission check. Use this with care as it may expose your
+# credentials.
+#
+# Default: false
+unsafe-accounts-conf=false
+
 [ui]
 #
 # Describes the format for each row in a mailbox view. This field is compatible
@@ -70,8 +93,8 @@ next-message-on-delete=true
 # The directories where the stylesets are stored. It takes a colon-separated
 # list of directories.
 #
-# default: /home/sea/.local/share/aerc/stylesets/
-stylesets-dirs=/home/sea/.local/share/aerc/stylesets/
+# default: $XDG_DATA_HOME/aerc/stylesets/
+# stylesets-dirs=
 
 # Sets the styleset to use for the aerc ui elements.
 #
@@ -127,8 +150,6 @@ completion-delay=100ms
 completion-popovers=true
 
 [compose]
-reply-to-self=false
-
 #
 # Specifies the command to run the editor with. It will be shown in an embedded
 # terminal, though it may also launch a graphical window if the environment
@@ -155,6 +176,16 @@ header-layout=From,To,Subject
 # ignored.
 address-book-cmd=
 
+reply-to-self=false
+
+#
+# Warn before sending an email that matches the specified regexp but does not
+# have any attachments. Leave empty to disable this feature.
+#
+# Uses Go's regexp syntax, documented at https://golang.org/s/re2syntax. The
+# "(?im)" flags are set by default (case-insensitive and multi-line).
+no-attachment-warning=^[^>]*attach(ed|ment)
+
 [filters]
 #
 # Filters allow you to pipe an email body through a shell command to render
@@ -166,9 +197,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 /home/sea/.local/share/aerc/filters/hldiff
-text/html=/home/sea/.local/share/aerc/filters/html
-text/*=awk -f /home/sea/.local/share/aerc/filters/plaintext
+subject,~^\[PATCH=hldiff
+text/html=html
+text/*=colorize
 image/*=imv -
 application/pdf=zathura -
 
@@ -190,8 +221,8 @@ new-email=
 # The directories where the templates are stored. It takes a colon-separated
 # list of directories.
 #
-# default: /home/sea/.local/share/aerc/templates/
-template-dirs=/home/sea/.local/share/aerc/templates/
+# default: $XDG_DATA_HOME/aerc/templates/
+# template-dirs=
 
 # The template to be used for quoted replies.
 #