summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-28 18:39:04 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-28 18:39:04 -0500
commite1cc75d65e9386b80a1de9152adecacad79714a0 (patch)
tree71e72747e99070f5939ec03da4b6ee6aab913f4b
parent2152fc53a4e212b5071876b08248e539b78cb8f4 (diff)
fix(aerc): update aerc configs to use MailDir and sendmail
-rw-r--r--aerc/.config/aerc/accounts.conf6
-rw-r--r--aerc/.config/aerc/aerc.conf21
-rw-r--r--aerc/.config/aerc/binds.conf6
3 files changed, 6 insertions, 27 deletions
diff --git a/aerc/.config/aerc/accounts.conf b/aerc/.config/aerc/accounts.conf
new file mode 100644
index 0000000..d9e6ff8
--- /dev/null
+++ b/aerc/.config/aerc/accounts.conf
@@ -0,0 +1,6 @@
+[Gmail]
+source = maildir://~/.local/share/mail/gmail
+outgoing = /usr/sbin/sendmail
+from = Toby Vincent <tobyv13@gmail.com>
+pgp-auto-sign = true
+folders-sort = INBOX,Archive,Sent,Drafts,Trash
diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf
index d88f887..edc02c9 100644
--- a/aerc/.config/aerc/aerc.conf
+++ b/aerc/.config/aerc/aerc.conf
@@ -1,35 +1,14 @@
-#
-# aerc main configuration
-
[ui]
mouse-enabled=true
new-message-bell=true
[viewer]
-#
-# Specifies the pager to use when displaying emails. Note that some filters
-# may add ANSI codes to add color to rendered emails, so you may want to use a
-# pager which supports ANSI codes.
-#
-# Default: less -R
pager=less -R
[filters]
-#
-# Filters allow you to pipe an email body through a shell command to render
-# certain emails differently, e.g. highlighting them with ANSI escape codes.
-#
-# The first filter which matches the email's mimetype will be used, so order
-# them from most to least specific.
-#
-# 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=colordiff
text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
text/plain=awk -f ~/.config/aerc/filters/colorize
text/html=pandoc -f html -t plain
-# image/*=catimg -w $(tput cols) -
[triggers]
new-email=exec notify-send "New email from %n" "%s"
diff --git a/aerc/.config/aerc/binds.conf b/aerc/.config/aerc/binds.conf
index 99464ac..88a3531 100644
--- a/aerc/.config/aerc/binds.conf
+++ b/aerc/.config/aerc/binds.conf
@@ -1,6 +1,3 @@
-# Binds are of the form <key sequence> = <command to run>
-# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
-# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
<C-p> = :prev-tab<Enter>
<C-n> = :next-tab<Enter>
<C-t> = :term<Enter>
@@ -83,15 +80,12 @@ $ex = <C-x>
<Esc> = :toggle-key-passthrough<Enter>
[compose]
-# Keybindings used when the embedded terminal is not selected in the compose
-# view
$ex = <C-x>
<C-k> = :prev-field<Enter>
<C-j> = :next-field<Enter>
<tab> = :next-field<Enter>
[compose::editor]
-# Keybindings used when the embedded terminal is selected in the compose view
$noinherit = true
$ex = <C-x>
<C-k> = :prev-field<Enter>