neofetch: Drop kitty win size func. Related to #1418
This commit is contained in:
parent
59af9f0ae9
commit
ede5c1ee29
1 changed files with 0 additions and 3 deletions
3
neofetch
3
neofetch
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue