diff --git a/home/modules/mail/default.nix b/home/modules/mail/default.nix index 0d42beb..13cd306 100644 --- a/home/modules/mail/default.nix +++ b/home/modules/mail/default.nix @@ -46,9 +46,14 @@ in display-mode = "icon"; }; + # https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-config.5.scd filters = { - "text/plain" = "${./colorize}"; - "text/html" = "html"; + ".headers" = "colorize"; + "text/html" = "html | colorize"; + "text/plain" = "colorize"; + "text/rfc822-headers" = "colorize"; + # "text/*" = "${pkgs.bat}/bin/bat -fpp --file-name='$AERC_FILENAME'"; + "message/delivery-status" = "cat | colorize"; }; }; extraBinds = {