diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-03 22:54:42 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-03 22:54:42 +0900 |
| commit | 9b8cda63dd0ec81458a0e52cb18df00630daa236 (patch) | |
| tree | e6a63c250857ea73653efb19dda1de762fd788ea /ar | |
| parent | 4c5c7a1d8d3a8302857cf4e78dd1904ff2966700 (diff) | |
modified lf/scope
Diffstat (limited to 'ar')
| -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 73475a6..27c37bc 100755 --- a/ar/.config/lf/scope +++ b/ar/.config/lf/scope @@ -8,7 +8,7 @@ IFS="${IFS%_}" image() { if [ -f "$1" ] && [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && command -V ueberzugpp >/dev/null 2>&1; then - printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$(($5 + 1))" "$(($2 - 1))" "$(($3 - 2))" "$1" >"$FIFO_UEBERZUGPP" + printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$(($5 + 2))" "$(($2 - 1))" "$(($3 - 3))" "$1" >"$FIFO_UEBERZUGPP" mediainfo --Output="Video;%Duration/String%" "$6" elif command -V chafa >/dev/null 2>&1; then chafa -s "$4"x"$3" "$1" |
