diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-21 23:35:44 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-21 23:35:44 +0900 |
| commit | 49d98c9f79d98971d728174b49566d6657cffcb7 (patch) | |
| tree | 15833c375ebf2a0c35c09b193a0c8e383a2d6e2b /ar/.config/lf | |
| parent | 9976fcacc348b7ac1f49bcb763e95d630f6572a3 (diff) | |
Diffstat (limited to 'ar/.config/lf')
| -rwxr-xr-x | ar/.config/lf/scope | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.config/lf/scope b/ar/.config/lf/scope index fc26f5e..c287f43 100755 --- a/ar/.config/lf/scope +++ b/ar/.config/lf/scope @@ -43,7 +43,7 @@ image/x-xcf) 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 ;; -text/* | */xml | application/json | application/x-ndjson) bat -p --theme ansi --terminal-width "$(($4 - 2))" -f "$1" ;; +text/* | */xml | application/json | application/java* | application/x-ndjson) bat -p --theme ansi --terminal-width "$(($4 - 2))" -f "$1" ;; audio/*) mediainfo "$1" || exit 1 ;; video/* | application/octet-stream | application/vnd.rn-realmedia) CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/lf/thumb.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | cut -d' ' -f1)" |
