Commit cbd35ba

xxwhirlpool  ·  2026-09-17 20:21:13 -0400 EDT
parent 826c41b
more email bullshit
2 files changed,  +32, -2
+1, -1
1@@ -103,7 +103,7 @@ alias unfuckwifi="sudo systemctl restart NetworkManager"
2 alias uptime="uptime -p"
3 alias irc="senpai"
4 alias xmpp="profanity"
5-alias email="neomutt"
6+alias email="aerc"
7 alias updupgr="sudo apt update && sudo apt upgrade"
8 alias winek="wineserver -k"
9 alias docker="sudo docker"
+31, -1
 1@@ -8,20 +8,50 @@ styleset-name=catppuccin-frappe
 2 [statusline]
 3 
 4 [viewer]
 5+alternatives=text/plain,text/html
 6 
 7 [compose]
 8 
 9 [multipart-converters]
10 
11 [filters]
12+# half of these are stolen from:
13+# https://aerc-docs.com/recipes/openers/
14 text/plain=colorize
15 text/calendar=calendar
16+text/html=w3m -T text/html -dump -o display_link_number=1 | colorize
17 message/delivery-status=colorize
18 message/rfc822=colorize
19-text/html=pandoc -f html -t plain | colorize
20 .headers=colorize
21 
22+# glow by charmcli
23+text/markdown=glow -w 0
24+
25+# syntax highlighting
26+application/json=bat -fP -l json
27+application/xml=bat -fP -l xml
28+application/x-yaml=bat -fP -l yaml
29+text/x-diff=bat -fP -l diff
30+
31+# images
32+image/*=chafa -f kitty -s $(tput cols)x$(tput lines) -
33+
34 [openers]
35+# images
36+image/* = lximage-qt {}
37+
38+# audio/video
39+audio/* = mpv {}
40+video/* = mpv {}
41+
42+# spreadsheets/docs
43+application/vnd.openxmlformats-officedocument.* = libreoffice {}
44+
45+# copy mailto links to clipboard
46+x-scheme-handler/mailto = printf '%s' {} | xclip -sel clipboard
47+
48+# fallback to xdg-open for anything else
49+* = xdg-open {}
50 
51 [hooks]
52