From e8eacf1ac176bb5a2b58d5e74d7d718a66ffb74f Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 22 Mar 2024 23:22:02 +0000 Subject: [PATCH] add xlsx file handling to file_previewer.sh --- file_previewer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_previewer.sh b/file_previewer.sh index 2fe5972..5a763d3 100755 --- a/file_previewer.sh +++ b/file_previewer.sh @@ -4,7 +4,7 @@ preview_filepath="/tmp/lf_preview_image.png" case "$(mimetype --brief -- "$1")" in - application/gzip | application/msword | application/x-iso9660-image | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application/vnd.openxmlformats-officedocument.presentationml.presentation ) + application/gzip | application/msword | application/x-iso9660-image | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application/vnd.openxmlformats-officedocument.presentationml.presentation | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) exiftool "$1" | bat --theme='base16' --terminal-width "$(($2-4))" --force-colorization;; application/json)