From b02ed9fff27fa534329f0a7bb70f64e26f881e2f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 28 May 2018 10:28:14 +1000 Subject: [PATCH] image: Fixed kitty image size. --- neofetch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 60a47afe..3e76fa3e 100755 --- a/neofetch +++ b/neofetch @@ -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." ;;