z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb Heueraerc: Disable terminal rendering of html emails02ab157

tangere
8.2 KiB303 linesraw
1#
2# aerc main configuration
3
4[general]
5#
6# If set to "gpg", aerc will use system gpg binary and keystore for all crypto
7# operations. Otherwise, the internal openpgp implemenation will be used.
8#
9# Default: internal
10pgp-provider=internal
11
12# By default, the file permissions of accounts.conf must be restrictive and
13# only allow reading by the file owner (0600). Set this option to true to
14# ignore this permission check. Use this with care as it may expose your
15# credentials.
16#
17# Default: false
18unsafe-accounts-conf=false
19
20[ui]
21#
22# Describes the format for each row in a mailbox view. This field is compatible
23# with mutt's printf-like syntax.
24#
25# Default: %D %-17.17n %Z %s
26index-format=%-20.20D %-17.17n %Z %s
27
28#
29# See time.Time#Format at https://godoc.org/time#Time.Format
30#
31# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
32timestamp-format=2006-01-02 03:04 PM
33
34#
35# Index-only time format for messages that were received/sent today.
36# If this is not specified, timestamp-format is used instead.
37#
38# Default: "03:04 PM" (12 hour time)
39this-day-time-format=03:04 PM
40
41#
42# Index-only time format for messages that were received/sent within the last
43# 7 days. If this is not specified, timestamp-format is used instead.
44#
45# Default: "Monday 03:04 PM" (Week day + 12 hour time)
46this-week-time-format=Monday 03:04 PM
47
48#
49# Index-only time format for messages that were received/sent this year.
50# If this is not specified, timestamp-format is used instead.
51#
52# Default: "January 02" (Month + month day)
53this-year-time-format=January 02
54
55#
56# Width of the sidebar, including the border.
57#
58# Default: 20
59sidebar-width=20
60
61#
62# Message to display when viewing an empty folder.
63#
64# Default: (no messages)
65empty-message=(no messages)
66
67# Message to display when no folders exists or are all filtered
68#
69# Default: (no folders)
70empty-dirlist=(no folders)
71
72# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
73#
74# Default: false
75mouse-enabled=false
76
77#
78# Ring the bell when new messages are received
79#
80# Default: true
81new-message-bell=true
82
83# Marker to show before a pinned tab's name.
84#
85# Default: `
86pinned-tab-marker='`'
87
88# Describes the format string to use for the directory list
89#
90# Default: %n %>r
91dirlist-format=%n %>r
92
93# Delay after which the messages are actually listed when entering a directory.
94# This avoids loading messages when skipping over folders and makes the UI more
95# responsive. If you do not want that, set it to 0s.
96#
97# Default: 200ms
98dirlist-delay=200ms
99
100# Display the directory list as a foldable tree that allows to collapse and
101# expand the folders.
102#
103# Default: false
104dirlist-tree=false
105
106# List of space-separated criteria to sort the messages by, see *sort*
107# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
108# reverses that criterion.
109#
110# Example: "from -r date"
111#
112# Default: ""
113sort=-r date
114
115# Moves to next message when the current message is deleted
116#
117# Default: true
118next-message-on-delete=true
119
120# The directories where the stylesets are stored. It takes a colon-separated
121# list of directories. If this is unset or if a styleset cannot be found, the
122# following paths will be used as a fallback in that order:
123#
124#   ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
125#   ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
126#   /usr/local/share/aerc/stylesets
127#   /usr/share/aerc/stylesets
128#
129# default: ""
130stylesets-dirs=
131
132# Uncomment to use box-drawing characters for vertical and horizontal borders.
133#
134# Default: spaces
135# border-char-vertical=│
136# border-char-horizontal=─
137
138# Sets the styleset to use for the aerc ui elements.
139#
140# Default: default
141styleset-name=16color
142
143# Activates fuzzy search in commands and their arguments: the typed string is
144#   searched in the command or option in any position, and need not be
145#   consecutive characters in the command or option.
146#fuzzy-complete=false
147
148#[ui:account=foo]
149#
150# Enable threading in the ui. Only works with notmuch:// and imap:// accounts
151# (when the server supports it). If this is not supported by the server,
152# you can enable it on the fly by issuing the :toggle-threads command. The
153# threading will be done client side instead of on the server.
154#
155# Default: false
156#threading-enabled=false
157
158[statusline]
159# Describes the format string for the statusline.
160#
161# Default: [%a] %S %>%T
162render-format=[%a] %S %>%T
163
164# Specifies the separator between grouped statusline elements.
165#
166# Default: " | "
167# separator=
168
169# Defines the mode for displaying the status elements.
170# Options: text, icon
171#
172# Default: text
173# display-mode=
174
175[viewer]
176#
177# Specifies the pager to use when displaying emails. Note that some filters
178# may add ANSI codes to add color to rendered emails, so you may want to use a
179# pager which supports ANSI codes.
180#
181# Default: less -R
182pager=less -R
183
184#
185# If an email offers several versions (multipart), you can configure which
186# mimetype to prefer. For example, this can be used to prefer plaintext over
187# html emails.
188#
189# Default: text/plain,text/html
190alternatives=text/plain,text/html
191
192#
193# Default setting to determine whether to show full headers or only parsed
194# ones in message viewer.
195#
196# Default: false
197show-headers=false
198
199#
200# Layout of headers when viewing a message. To display multiple headers in the
201# same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if
202# none of their specified headers are present in the message.
203#
204# Default: From|To,Cc|Bcc,Date,Subject
205header-layout=From|To,Cc|Bcc,Date,Subject
206
207# Whether to always show the mimetype of an email, even when it is just a single part
208#
209# Default: false
210always-show-mime=false
211
212# How long to wait after the last input before auto-completion is triggered.
213#
214# Default: 250ms
215completion-delay=250ms
216
217#
218# Global switch for completion popovers
219#
220# Default: true
221completion-popovers=true
222
223[compose]
224#
225# Specifies the command to run the editor with. It will be shown in an embedded
226# terminal, though it may also launch a graphical window if the environment
227# supports it. Defaults to $EDITOR, or vi.
228editor=
229
230#
231# Default header fields to display when composing a message. To display
232# multiple headers in the same row, separate them with a pipe, e.g. "To|From".
233#
234# Default: To|From,Subject
235header-layout=To|From,Subject
236
237#
238# Specifies the command to be used to tab-complete email addresses. Any
239# occurrence of "%s" in the address-book-cmd will be replaced with what the
240# user has typed so far.
241#
242# The command must output the completions to standard output, one completion
243# per line. Each line must be tab-delimited, with an email address occurring as
244# the first field. Only the email address field is required. The second field,
245# if present, will be treated as the contact name. Additional fields are
246# ignored.
247address-book-cmd=
248
249#
250# Allow to address yourself when replying
251#
252# Default: true
253reply-to-self=true
254
255[filters]
256#
257# Filters allow you to pipe an email body through a shell command to render
258# certain emails differently, e.g. highlighting them with ANSI escape codes.
259#
260# The first filter which matches the email's mimetype will be used, so order
261# them from most to least specific.
262#
263# You can also match on non-mimetypes, by prefixing with the header to match
264# against (non-case-sensitive) and a comma, e.g. subject,text will match a
265# subject which contains "text". Use header,~regex to match against a regex.
266subject,~^\[PATCH=colordiff
267text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
268# text/html=pandoc -f html -t plain
269#image/*=catimg -w $(tput cols) -
270
271[triggers]
272new-email=exec notify-send "New email from %n" "%s"
273
274[templates]
275# Templates are used to populate email bodies automatically.
276#
277
278# The directories where the templates are stored. It takes a colon-separated
279# list of directories. If this is unset or if a template cannot be found, the
280# following paths will be used as a fallback in that order:
281#
282#   ${XDG_CONFIG_HOME:-~/.config}/aerc/templates
283#   ${XDG_DATA_HOME:-~/.local/share}/aerc/templates
284#   /usr/local/share/aerc/templates
285#   /usr/share/aerc/templates
286#
287# default: ""
288template-dirs=
289
290# The default template to be used for new messages.
291#
292# default: new_message
293new-message=new_message
294
295# The default template to be used for quoted replies.
296#
297# default: quoted_reply
298quoted-reply=quoted_reply
299
300# The default template to be used for forward as body.
301#
302# default: forward_as_body
303forwards=forward_as_body