summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-06-03 22:54:42 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-06-03 22:54:42 +0900
commit9b8cda63dd0ec81458a0e52cb18df00630daa236 (patch)
treee6a63c250857ea73653efb19dda1de762fd788ea /ar
parent4c5c7a1d8d3a8302857cf4e78dd1904ff2966700 (diff)
modified lf/scope
Diffstat (limited to 'ar')
-rwxr-xr-xar/.config/lf/scope2
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"