diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-04 19:57:55 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-04 19:57:55 +0900 |
| commit | ddbc1271c7f0316ee6fa02ef696bf657310e15a2 (patch) | |
| tree | 8fb81bd4cbdfae2034df5cfd8441a5ccafa2f7ba /ar/.config/lf/scope | |
| parent | 1d6cc7747aa3989d1e81be04b866a1f4f8278132 (diff) | |
updates
Diffstat (limited to 'ar/.config/lf/scope')
| -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 079c519..b270fe8 100755 --- a/ar/.config/lf/scope +++ b/ar/.config/lf/scope @@ -45,7 +45,7 @@ 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" ;; audio/*) mediainfo "$1" || exit 1 ;; -video/* | application/octet-stream) +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)" [ ! -f "$CACHE" ] && ffmpegthumbnailer -i "$1" -o "$CACHE" -s 0 image "$CACHE" "$2" "$3" "$4" "$5" "$1" |
