Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
neofetch: Drop kitty win size func. Related to #1418
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Mar 4, 2020
1 parent 59af9f0 commit ede5c1e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ede5c1e

Please sign in to comment.