diff options
-rw-r--r-- | aerc/.config/aerc/accounts.conf | 8 | ||||
-rw-r--r-- | aerc/.config/aerc/aerc.conf | 22 |
2 files changed, 21 insertions, 9 deletions
diff --git a/aerc/.config/aerc/accounts.conf b/aerc/.config/aerc/accounts.conf index 2244868..d525331 100644 --- a/aerc/.config/aerc/accounts.conf +++ b/aerc/.config/aerc/accounts.conf @@ -1,5 +1,7 @@ [tobyv@tobyvin.dev] -source = maildir://~/.local/share/mail/porkbun +source = notmuch://~/.local/share/mail +maildir-store = ~/.local/share/mail +maildir-account-path = porkbun check-mail-cmd = mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc porkbun copy-to = "Sent" outgoing = /usr/sbin/sendmail @@ -10,7 +12,9 @@ folders-sort = INBOX,Sent,Drafts,Junk,Trash,Archive address-book-cmd="grep -iPm 100 --color=never %s /home/tobyv/.local/share/mail/porkbun/addressbook.tsv" [tobyv13@gmail.com] -source = maildir://~/.local/share/mail/gmail +source = notmuch://~/.local/share/mail +maildir-store = ~/.local/share/mail +maildir-account-path = gmail check-mail-cmd = mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail copy-to = "Sent" outgoing = /usr/sbin/sendmail diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index af25719..cee0742 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -6,10 +6,10 @@ mouse-enabled = true new-message-bell = true styleset-name = dark column-name = {{ if eq .Folder "Sent" }}{{.To | names | join ", "}}{{ else }}{{.From | names | join ", "}}{{ end }} -column-date = {{.DateAutoFormat .Date.Local}} next-message-on-delete = false fuzzy-complete = true threading-enabled = true +sort-thread-siblings = true client-threads-delay = 150ms sort = -r date @@ -18,6 +18,14 @@ column-name = {{index (.To | names) 0}} [viewer] header-layout = From,To,Cc,Bcc,Date,Subject +always-show-mime = true + +[compose] +address-book-cmd="grep -iPm 100 --color=never %s /home/tobyv/.cache/maildir-rank-addr/addressbook.tsv" +edit-headers = true +file-picker-cmd = fd --type=file --unrestricted %s +empty-subject-warning = true +no-attachment-warning = ^[^>]*attach(ed|ment) [filters] sender,todo@todo.sr.ht = wrap | colorize @@ -25,13 +33,13 @@ text/html = html | colorize text/plain = wrap -w 88 | colorize | /usr/share/git/diff-highlight/diff-highlight text/calendar = calendar | colorize text/* = bat -fP --file-name="$AERC_FILENAME" --style=plain -application/x-* = bat -fP --file-name="$AERC_FILENAME" --style=auto -application/vnd.openxmlformats-officedocument.wordprocessingml.document = docx2txt -application/pdf=pdftotext - /dev/stdout +.headers = colorize message/delivery-status = wrap | colorize message/rfc822 = wrap | colorize +application/x-* = bat -fP --file-name="$AERC_FILENAME" --style=auto +application/vnd.openxmlformats-officedocument.wordprocessingml.document = docx2txt +application/pdf=pdftotext - -l 10 -nopgbrk -q - | fmt -w 100 image/* = catimg -w$(tput cols) - -.headers = colorize -[compose] -address-book-cmd="grep -iPm 100 --color=never %s /home/tobyv/.cache/maildir-rank-addr/addressbook.tsv" +[hooks] +aerc-shutdown = systemctl --user --no-block start mbsync@porkbun.service mbsync@gmail.service |