Commit cbd35ba

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