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" | |
| 103 | 103 | alias uptime="uptime -p" | |
| 104 | 104 | alias irc="senpai" | |
| 105 | 105 | alias xmpp="profanity" | |
| 106 | - | alias email="neomutt" | |
| 106 | + | alias email="aerc" | |
| 107 | 107 | alias updupgr="sudo apt update && sudo apt upgrade" | |
| 108 | 108 | alias winek="wineserver -k" | |
| 109 | 109 | alias docker="sudo docker" |
+31,
-1
| ... | ... | @@ -8,20 +8,50 @@ styleset-name=catppuccin-frappe | |
| 8 | 8 | [statusline] | |
| 9 | 9 | ||
| 10 | 10 | [viewer] | |
| 11 | + | alternatives=text/plain,text/html | |
| 11 | 12 | ||
| 12 | 13 | [compose] | |
| 13 | 14 | ||
| 14 | 15 | [multipart-converters] | |
| 15 | 16 | ||
| 16 | 17 | [filters] | |
| 18 | + | # half of these are stolen from: | |
| 19 | + | # https://aerc-docs.com/recipes/openers/ | |
| 17 | 20 | text/plain=colorize | |
| 18 | 21 | text/calendar=calendar | |
| 22 | + | text/html=w3m -T text/html -dump -o display_link_number=1 | colorize | |
| 19 | 23 | message/delivery-status=colorize | |
| 20 | 24 | message/rfc822=colorize | |
| 21 | - | text/html=pandoc -f html -t plain | colorize | |
| 22 | 25 | .headers=colorize | |
| 23 | 26 | ||
| 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 | + | ||
| 24 | 39 | [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 {} | |
| 25 | 55 | ||
| 26 | 56 | [hooks] | |
| 27 | 57 |