commit 2a38132012583c60b1a1ec0ed8bf48e402ee116e
parent 9503703517b4b6a70707ff7b00243f9741f3bcb5
Author: Arun <engineerarun@gmail.com>
Date: Sun, 26 Feb 2023 07:33:57 +0530
Merge pull request #1597 from amalgame21/master
Add old 1997-2003 .doc and .xls preview support
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/preview-tui b/plugins/preview-tui
@@ -263,7 +263,7 @@ handle_mime() {
video/*) generate_preview "$cols" "$lines" "$1" "video" ;;
audio/*) generate_preview "$cols" "$lines" "$1" "audio" ;;
application/font*|application/*opentype|font/*) generate_preview "$cols" "$lines" "$1" "font" ;;
- */*office*|*/*document*) generate_preview "$cols" "$lines" "$1" "office" ;;
+ */*office*|*/*document*|*/*msword|*/*ms-excel) generate_preview "$cols" "$lines" "$1" "office" ;;
application/zip) fifo_pager unzip -l "$1" ;;
text/troff)
if exists man; then