From 2de59cab2e44625d056c47e71e0d6855403b3f77 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 11 Jul 2022 17:13:03 +0930 Subject: [PATCH] updated html to be previewed using bat rather than lynx in lf --- .config/lf/scope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/lf/scope b/.config/lf/scope index 180c294..6155a54 100755 --- a/.config/lf/scope +++ b/.config/lf/scope @@ -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" ;;