summaryrefslogtreecommitdiff
path: root/lf/image
diff options
context:
space:
mode:
authorzsmith <zsmith@newhopechurch.tv>2025-07-15 13:32:13 -0500
committerzsmith <zsmith@newhopechurch.tv>2025-07-15 13:32:13 -0500
commit87d456895519cf27f9dfbb17a16d66184643a499 (patch)
tree08b8bf576859becbe0f28f9f58390abe524d6384 /lf/image
parent855ebc2fb11d271ec19dedc3f7dc6b000c59cdf0 (diff)
parentb66538e421e6025d8d8314b28b5c27e315c4f9d7 (diff)
Merge branch 'master' into macmac
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