summaryrefslogtreecommitdiff
path: root/lf/image
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-07-13 05:27:47 -0500
committerZachIR <zachir@librem.one>2025-07-13 05:27:47 -0500
commitac58746a49e1b7e8559cff1ed4522c3584caa026 (patch)
tree710e4e87d0526e8fe254befe6b9342f299846967 /lf/image
parent03293db1c9078d0960e92bed9b3a66e14cadacd1 (diff)
parente2863dbdbae1e10a82f098c4575ed973249bab7b (diff)
Merge branch 'master' into car
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