mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
neofetch: Drop kitty win size func. Related to #1418
This commit is contained in:
3
neofetch
3
neofetch
@@ -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
|
||||
|
Reference in New Issue
Block a user