From: Sacha Telgenhof Date: Sun, 17 Oct 2021 05:34:09 +0000 (+0900) Subject: Added the media registry 'font' for mime types part of it. X-Git-Tag: v4.4~47^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=44b983f71e7919c2006fe0bcb1c507a31b77f1fa;p=nnn.git Added the media registry 'font' for mime types part of it. Signed-off-by: Sacha Telgenhof --- diff --git a/plugins/preview-tui b/plugins/preview-tui index 3116a889..c634cf00 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -229,7 +229,7 @@ handle_mime() { image/*) generate_preview "$cols" "$lines" "$1" "image" ;; video/*) generate_preview "$cols" "$lines" "$1" "video" ;; audio/*) generate_preview "$cols" "$lines" "$1" "audio" ;; - application/font*|application/*opentype) generate_preview "$cols" "$lines" "$1" "font" ;; + application/font*|application/*opentype|font/*) generate_preview "$cols" "$lines" "$1" "font" ;; */*office*|*/*document*) generate_preview "$cols" "$lines" "$1" "office" ;; application/zip) fifo_pager unzip -l "$1" ;; text/troff)