From b981fb50fa6ec48022ad060415c3850e6d0c4493 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 28 May 2018 09:33:47 +1000 Subject: [PATCH] image: Fixed tycat size. --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 2646910c..38791f7d 100755 --- a/neofetch +++ b/neofetch @@ -3835,7 +3835,7 @@ display_image() { ;; "tycat") - tycat "$image" ||\ + tycat -g "${width}x${height}" "$image" ||\ to_off "Image: tycat failed to display the image." ;; @@ -4193,7 +4193,7 @@ kde_config_dir() { dynamic_prompt() { [[ "$image_backend" == "off" ]] && { printf "\n"; return; } - [[ "$image_backend" != "ascii" ]] && lines="$(((height + yoffset) / font_height))" + [[ "$image_backend" != "ascii" ]] && lines="$(((height + yoffset) / font_height + 1))" # If the ascii art is taller than the info. if ((lines > info_height)); then