summary refs log tree commit diff
path: root/.config/aerc/aerc.conf
blob: e6faea7071f3536eba31a19420ca049f5e8db6f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# vim: ft=conf

[ui]
dirlist-left={{if eq .Folder "INBOX"}}󰶊 {{end}}{{if eq .Folder "Trash"}}󰩺 {{end}}{{if eq .Folder "Archive"}}󰀼 {{end}}{{if eq .Folder "Spam?"}}󰨰 {{end}}{{if eq .Folder "Sent Items"}}󰒊 {{end}}{{if eq .Folder "Drafts"}}󰤌 {{end}}{{.Folder}}
dirlist-tree=true

next-message-on-delete=true
border-char-vertical="│"
border-char-horizontal="─"
styleset-name=r

[ui:folder=Sent Items]
index-columns = date<20,to<40,flags>4,subject<*
column-date = {{.DateAutoFormat .Date.Local}}
column-to = {{.To | persons | join ", "}}
column-flags = {{.Flags | join ""}}
column-subject = {{.ThreadPrefix}}{{.Subject}}

[viewer]
# Default: less -R
# pager=page
# pager=less -g -i -M -s -S -w -X
pager=less -c -F -i -R -s -~ --mouse
# pager=bat --style=plain --color=always --language=email --wrap=character

always-show-mime=true

[compose]
address-book-cmd = known-emails "%s"
file-picker-cmd = porta filechooser

[filters]
#subject,~Git(hub|lab)=lolcat -f
#from,thatguywhodoesnothardwraphismessages=fmt -w 72 | colorize
X-GitHub-Recipient,robertgzr=github-review-fix | colorize

# application/pdf=pdf
# image/*=vv
# text/*=bat -fP --file-name="$AERC_FILENAME"
application/x-sh=bat -fP -l sh

# keep defaults around
text/html=html | colorize
text/plain=wrap | colorize
text/calendar=calendar
message/delivery-status=colorize
message/rfc822=colorize

[hooks]
mail-received = notify-send -i /usr/share/icons/mdi/scalable/email-fast-outline.svg -a aerc "[$AERC_ACCOUNT/$AERC_FOLDER] new mail from $AERC_FROM_NAME" "$AERC_SUBJECT"