From 0d50468d192a161b93e79beefc5e8c2ba68b25f3 Mon Sep 17 00:00:00 2001 From: Matt Mathis Date: Sat, 1 Sep 2018 22:11:00 -0400 Subject: [PATCH] Updated to fix new kitty bug prior to kitty fixes Kitty recently updated and broke just using "kitty icat " however, "kitty +kitten icat " still works as intended. This commit makes the neofetch script use +kitten. --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 3ac67137..69d982a7 100755 --- a/neofetch +++ b/neofetch @@ -3578,7 +3578,7 @@ get_window_size() { fi [[ "$image_backend" == "kitty" ]] && \ - IFS=x read -r term_width term_height < <(kitty icat --print-window-size) + IFS=x read -r term_width term_height < <(kitty +kitten icat --print-window-size) # Get terminal width/height if \e[14t is unsupported. if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then @@ -3757,7 +3757,7 @@ display_image() { ;; "kitty") - kitty icat \ + kitty +kitten icat \ --align left \ --place "$((width/font_width))x$((height/font_height))@${xoffset}x${yoffset}" \ "$image"