summaryrefslogtreecommitdiff
path: root/lf/image
diff options
context:
space:
mode:
authorGitIR <git@zachir.xyz>2025-08-13 17:36:31 -0500
committerGitIR <git@zachir.xyz>2025-08-13 17:36:31 -0500
commitf1b0dd12663867863f58db2d5735cdb3cc84da04 (patch)
tree2c9d38e6ccd82721090c7030766f91eaf36a82a5 /lf/image
parent2666a2d597f5fb4222142a5ce147546cf588887a (diff)
parentc0ee1d4b5dbd37b05947ffcc584c0834d523626d (diff)
Merge branch 'master' into rai-master
Diffstat (limited to 'lf/image')
-rwxr-xr-xlf/image7
1 files changed, 4 insertions, 3 deletions
diff --git a/lf/image b/lf/image
index 77ddb5b..622aaf2 100755
--- a/lf/image
+++ b/lf/image
@@ -7,9 +7,10 @@ main() {
> "$FIFO_UEBERZUG"
;;
"draw")
- declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" \
- [x]="$3" [y]="$4" [max_width]="$5" [max_height]="$6" \
- [path]="$2") > "$FIFO_UEBERZUG"
+ kitten icat --stdin no --transfer-mode memory --place"${5}x${6}@${3}x${4}" "$1" /dev/tty
+ #declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" \
+ #[x]="$3" [y]="$4" [max_width]="$5" [max_height]="$6" \
+ #[path]="$2") > "$FIFO_UEBERZUG"
;;
"*") echo "Unknown command: '$1', '$2'" ;;
esac