updated html to be previewed using bat rather than lynx in lf
This commit is contained in:
parent
ea2ea07760
commit
2de59cab2e
@ -23,7 +23,7 @@ ifub() {
|
||||
|
||||
case "$(file --dereference --brief --mime-type -- "$1")" in
|
||||
image/*) image "$1" "$2" "$3" "$4" "$5" "$1" ;;
|
||||
text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;;
|
||||
#text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;;
|
||||
text/troff) man ./ "$1" | col -b ;;
|
||||
text/* | */xml | application/json) bat --terminal-width "$(($4-2))" -f "$1" ;;
|
||||
application/zip) atool --list -- "$1" ;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user