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
1 changed files with 7 additions and 2 deletions

View File

@ -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 = {