From 54aa168ae10bbbaac3c9c208ae29d7846bbc021e Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 21 Apr 2024 16:42:52 -0400 Subject: Add xlsx previews as csv to lf --- .config/lf/scope | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/lf') 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" ;; -- cgit v1.2.3