[file_previewer.sh]: Make TSV file handling ignore non-tab whitespace
This commit is contained in:
@ -67,7 +67,7 @@ case "$mimetype" in
|
||||
lynx -width="$width" -display_charset=utf-8 -dump "$file";;
|
||||
|
||||
text/tab-separated-values)
|
||||
column --table "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization --wrap=never;;
|
||||
column --separator $'\t' --table "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization --wrap=never;;
|
||||
|
||||
video/*)
|
||||
ffmpeg -ss 00:00:00 -i "$file" -frames:v 1 -q:v 2 "$preview_image"
|
||||
|
Reference in New Issue
Block a user