From 9a95e43e1391f2638d0d5c4affa638adca035876 Mon Sep 17 00:00:00 2001 From: MMOOBB <33990719+MMOOBB@users.noreply.github.com> Date: Fri, 24 Jun 2022 19:35:19 -0500 Subject: [PATCH] Update scope --- .config/lf/scope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/lf/scope b/.config/lf/scope index 180c2947..881d66e9 100755 --- a/.config/lf/scope +++ b/.config/lf/scope @@ -21,7 +21,7 @@ ifub() { # an image appears in multiple places across the machine, it will not have to # be regenerated once seen. -case "$(file --dereference --brief --mime-type -- "$1")" in +case "$(xdg-mime query filetype "$1")" in image/*) image "$1" "$2" "$3" "$4" "$5" "$1" ;; text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;; text/troff) man ./ "$1" | col -b ;;