Commit b02ed9ff authored by Dylan Araps's avatar Dylan Araps

image: Fixed kitty image size.

parent 29aabc97
......@@ -3799,7 +3799,11 @@ display_image() {
;;
"kitty")
kitty icat --align left --place "${width}x${height}@${xoffset}x${yoffset}" "$image" ||\
kitty icat \
--align left \
--place "$((width / font_width))x$((height / font_height))\
@${xoffset}x${yoffset}" \
"$image" ||\
to_off "Image: kitty failed to display the image."
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment