user/aerc: add more filters

This commit is contained in:
Dmitriy Pleshevskiy 2023-06-07 16:52:55 +03:00
parent 2fa6f01771
commit 1354d932f8
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -46,9 +46,14 @@ in
display-mode = "icon"; display-mode = "icon";
}; };
# https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-config.5.scd
filters = { filters = {
"text/plain" = "${./colorize}"; ".headers" = "colorize";
"text/html" = "html"; "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 = { extraBinds = {