diff options
Diffstat (limited to 'lf')
-rwxr-xr-x | lf/scope | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,6 +26,11 @@ ifub() { # be regenerated once seen. case "$(file --dereference --brief --mime-type -- "$1")" in + image/svg+xml) + gencacheimage "$1" ".png" + [ ! -f "$CACHE" ] && convert -background none "$1" "$CACHE" + image "$CACHE" "$2" "$3" "$4" "$5" + ;; image/*) image "$1" "$2" "$3" "$4" "$5" ;; text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;; text/troff) man ./ "$1" | col -b ;; |