summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/lf/scope3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/lf/scope b/.config/lf/scope
index 43a91f0..6614dad 100755
--- a/.config/lf/scope
+++ b/.config/lf/scope
@@ -84,6 +84,9 @@ video/*)
application/*zip)
atool --list -- "$1"
;;
+*spreadsheetml.sheet)
+ xlsx2csv -s 1 "$1" | bat --terminal-width "$(($4 - 2))" -l 'csv'
+ ;;
*opendocument*)
odt2txt "$1"
;;