main dots / config / .config / aerc / aerc.conf
xxwhirlpool  ·  2026-09-17
 1[general]
 2
 3[ui]
 4border-char-vertical="│"
 5border-char-horizontal="─"
 6styleset-name=catppuccin-frappe
 7
 8[statusline]
 9
10[viewer]
11alternatives=text/plain,text/html
12
13[compose]
14
15[multipart-converters]
16
17[filters]
18# half of these are stolen from:
19# https://aerc-docs.com/recipes/openers/
20text/plain=colorize
21text/calendar=calendar
22text/html=w3m -T text/html -dump -o display_link_number=1 | colorize
23message/delivery-status=colorize
24message/rfc822=colorize
25.headers=colorize
26
27# glow by charmcli
28text/markdown=glow -w 0
29
30# syntax highlighting
31application/json=bat -fP -l json
32application/xml=bat -fP -l xml
33application/x-yaml=bat -fP -l yaml
34text/x-diff=bat -fP -l diff
35
36# images
37image/*=chafa -f kitty -s $(tput cols)x$(tput lines) -
38
39[openers]
40# images
41image/* = lximage-qt {}
42
43# audio/video
44audio/* = mpv {}
45video/* = mpv {}
46
47# spreadsheets/docs
48application/vnd.openxmlformats-officedocument.* = libreoffice {}
49
50# copy mailto links to clipboard
51x-scheme-handler/mailto = printf '%s' {} | xclip -sel clipboard
52
53# fallback to xdg-open for anything else
54* = xdg-open {}
55
56[hooks]
57
58[templates]