aerc: Add CardDAV configuration, fix coloring

This commit is contained in:
Alex Palaistras 2024-01-21 15:55:44 +00:00
parent 0a2d9f569f
commit 83a6817022
3 changed files with 22 additions and 10 deletions

View File

@ -1,8 +1,20 @@
# Primary account. Set fields to correct values based on example, and set password with
# the following command:
#
# secret-tool store --label='Aerc Account [email protected]' hostname mail.example.com username [email protected]
#
# Defaults should be valid for most IMAP servers, including Gmail.
[[email protected]]
from = Example Name <[email protected]>
default = INBOX
archive = INBOX.Archive
copy-to = INBOX.Sent
source = imaps://example%[email protected]:993
source-cred-cmd = secret-tool lookup hostname mail.example.com username [email protected]
outgoing = smtp://example%[email protected]:587
outgoing-cred-cmd = secret-tool lookup hostname mail.example.com username [email protected]
default = INBOX
from = Example Name <[email protected]>
copy-to = Sent
address-book-cmd = carddav-query %s
carddav-source = https://[email protected]@dav.example.com
carddav-source-cred-cmd = secret-tool lookup hostname mail.example.com username [email protected]

View File

@ -46,14 +46,14 @@ threading-enabled = true
# 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
# supports it. Defaults to $EDITOR, or vi.
editor = nano --syntax markdown --zero --breaklonglines --saveonexit
editor = nano --syntax markdown --zero --softwrap --atblanks --restricted --saveonexit
# When set, aerc will generate "format = flowed" bodies with a content type of
# "text/plain; format = flowed" as described in RFC3676. This format is easier to
# handle for some mailing software, and generally just looks like ordinary
# text. To actually make use of this format's features, you'll need support in
# your editor.
#format-flowed = false
format-flowed = false
[multipart-converters]
@ -107,8 +107,5 @@ image/*=catimg -w $(tput cols) -
[hooks]
# Executed when Aerc starts up.
aerc-startup = aerc :terminal calcurse && aerc :prev-tab
# Executed when a new email arrives in the selected folder
mail-received = notify-send "New mail from $AERC_FROM_NAME" "$AERC_SUBJECT"

View File

@ -39,8 +39,11 @@ completion*.selected.bold=true
completion*.bg="#282828"
completion*.fg="#d8d8d8"
tab.bg="#2d2d2d"
tab.fg="#b8b8b8"
tab.bg="#d8d8d8"
tab.fg="#282828"
tab.selected.bg="#282828"
tab.selected.fg="#d8d8d8"
tab.selected.bold=true
border.bg="#282828"
border.fg="#2d2d2d"