diff --git a/neofetch b/neofetch index 893b1258..eb8b7d2f 100755 --- a/neofetch +++ b/neofetch @@ -2404,7 +2404,7 @@ get_term_size() { fi # Get terminal width/height if \033[14t is unsupported. - if [[ -z "$term_width" ]]; then + if [[ -z "$term_width" ]] || (( "$term_width" < 50 )); then if type -p xdotool >/dev/null 2>&1; then current_window="$(xdotool getactivewindow)" source <(xdotool getwindowgeometry --shell "$current_window")