ref: 8e9e2c207714e9fa130c7c83eaebdde18e454828 dotfiles/.config/aerc/aerc.conf -rw-r--r-- 1.8 KiB View raw
                                                                                
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#
# aerc main configuration

[ui]
#
# Describes the format for each row in a mailbox view. This field is compatible
# with mutt's printf-like syntax. TODO: document properly
#
# Default:
index-format=%D %-17.17n %s

#
# See time.Time#Format
#
# Default: 2006-01-02 03:04 PM (ISO 8501 + 12 hour time)
timestamp-format=2006-01-02 03:04 PM

#
# Width of the sidebar, including the border.
#
# Default: 20
sidebar-width=20

#
# Height of the message preview, including the border.
#
# Default: 12
preview-height=12

dirlist-format=%n %>r

[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

#
# If an email offers several versions (multipart), you can configure which
# mimetype to prefer. For example, this can be used to prefer plaintext over
# html emails.
#
# Default: text/plain,text/html
#alternatives=text/plain,text/html
alternatives=text/plain,text/html

header-layout=From|To,Cc|Bcc,Date,Subject

[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 colon, e.g. subject:text will match a
# subject which contains "text". Use header~:regex to match against a regex.
subject,~^\[PATCH=awk -f /home/sircmpwn/sources/aerc/filters/hldiff
subject,~^\[RFC=awk -f /home/sircmpwn/sources/aerc/filters/hldiff
text/html=/home/sircmpwn/sources/aerc/filters/html
text/*=awk -f /home/sircmpwn/sources/aerc/filters/plaintext
image/*=catimg -w $(tput cols) -