config: reference built-in filter scripts

Now that the share/filters folders are in $PATH when running the
commands, let's reference the scripts by their name.

Add more filter examples, some of them using the built-in filters, some
of them not...

Suggested-by: Teo Luppi <>
Suggested-by: Bence Ferdinandy <>
Signed-off-by: Robin Jarry <>
Acked-by: Moritz Poldrack <>
This commit is contained in:
Robin Jarry 2022-10-12 01:02:00 +02:00
parent c95961fc74
commit a4b80bcc8b
1 changed files with 10 additions and 4 deletions

View File

@ -316,11 +316,17 @@ reply-to-self=true
# You can also match on non-mimetypes, by prefixing with the header to match
# against (non-case-sensitive) and a comma, e.g. subject,text will match a
# subject which contains "text". Use header,~regex to match against a regex.
text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
#text/html=pandoc -f html -t plain
#text/html=w3m -dump -I UTF-8 -T text/html
#text/html=pandoc -f html -t plain | colorize
#text/html=html | colorize
#application/x-sh=bat -fP -l sh
#image/*=catimg -w $(tput cols) -
#subject,~Git(hub|lab)=lolcat -f
#from,thatguywhodoesnothardwraphismessages=fmt -w 72 | colorize