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

This commit is contained in:
Dylan Araps 2020-03-04 21:52:42 +02:00
parent 59af9f0ae9
commit ede5c1ee29
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 0 additions and 3 deletions

View File

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