neofetch: Drop kitty win size func. Related to #1418

parent 59af9f0a
...@@ -3980,9 +3980,6 @@ get_window_size() { ...@@ -3980,9 +3980,6 @@ get_window_size() {
term_width="${term_size[2]}" term_width="${term_size[2]}"
fi fi
[[ "$image_backend" == "kitty" ]] &&
IFS=x read -r term_width term_height <<< "$(kitty +kitten icat --print-window-size)"
# Get terminal width/height. # Get terminal width/height.
if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
if type -p xdotool &>/dev/null; then if type -p xdotool &>/dev/null; then
......
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