diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-04-21 16:42:52 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-04-21 16:42:52 -0400 |
commit | 54aa168ae10bbbaac3c9c208ae29d7846bbc021e (patch) | |
tree | a4e3b5165c1343bef15f946a3386885e75f93223 /.config/lf | |
parent | 3a3061d5dfe46d82d3fc90b1e7c919581b1f9662 (diff) |
Add xlsx previews as csv to lf
Diffstat (limited to '.config/lf')
-rwxr-xr-x | .config/lf/scope | 3 |
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" ;; |