diff --git a/.config/lf/preview b/.config/lf/preview index 652c83f4e..79b983804 100755 --- a/.config/lf/preview +++ b/.config/lf/preview @@ -39,7 +39,7 @@ batorcat() { CACHE="$HOME/.cache/lf/thumbnail.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | awk '{print $1}'))" case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in - *.md) glow -s dark "$1" && exit 0 ;; + *.md) glow "$1" && exit 0 ;; *.xml|*.html) w3m -dump "$1" && exit 0 ;; *.[1-8]) man "$1" | col -b && exit 0 ;; *.o) nm "$1" && exit 0 ;;