mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
image: Fixed kitty image size.
This commit is contained in:
6
neofetch
6
neofetch
@@ -3799,7 +3799,11 @@ display_image() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"kitty")
|
"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."
|
to_off "Image: kitty failed to display the image."
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user