mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
Fixed kitty icat command
This commit is contained in:
parent
a3267c0da9
commit
3398761f93
@ -32,7 +32,7 @@ is_kitty() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kitty_clear() {
|
kitty_clear() {
|
||||||
kitty +kitten icat --clear --transfer-mode file
|
kitty +kitten icat --clear --stdin no --silent --transfer-mode file < /dev/null > /dev/tty
|
||||||
}
|
}
|
||||||
|
|
||||||
fifo_open() {
|
fifo_open() {
|
||||||
@ -95,8 +95,8 @@ send_image() {
|
|||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
"$image_method_kitty")
|
"$image_method_kitty")
|
||||||
kitty +kitten icat --transfer-mode file --align left \
|
kitty +kitten icat --silent --stdin no --transfer-mode file \
|
||||||
--place "${w}x${h}@${x}x${y}" "$1" &
|
--place "${w}x${h}@${x}x${y}" "$1" < /dev/null > /dev/tty
|
||||||
printf '%d\n' "$!" > "$(kitty_icat_pid)"
|
printf '%d\n' "$!" > "$(kitty_icat_pid)"
|
||||||
wait
|
wait
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user