1
0
Fork 0

fix lf preview for json

This commit is contained in:
Luca Bilke 2023-12-25 15:22:11 +01:00
parent 15a9e24f4d
commit 85122c820b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ video/*) video "$1" "$2" "$3" "$4" "$5" ;;
*opendocument*) run odt2txt "$1" ;;
*/markdown) run lowdown -Tterm "$1" ;;
*/html) run lynx -dump "$1" ;;
text/* | */json | */xml) batorcat "$1" "$2" ;;
text/* | */json | */schema+json | */xml) batorcat "$1" "$2" ;;
*/pdf) [ ! -f "${CACHE}.jpg" ] && run pdftoppm -jpeg -f 1 -singlefile "$1" "$CACHE" && image "${CACHE}.jpg" "$2" "$3" "$4" "$5" ;;
esac