commit 44b983f71e7919c2006fe0bcb1c507a31b77f1fa
parent 9c36f0df34ded19b929e69947a4c6657fbd08bbb
Author: Sacha Telgenhof <me@sachatelgenhof.com>
Date: Sun, 17 Oct 2021 14:34:09 +0900
Added the media registry 'font' for mime types part of it.
Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)