From 199dadd537fa60cf8b98b010ea2f3b30503c0a86 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 9 Feb 2017 11:00:50 +1100 Subject: [PATCH] Images: Fix bug with getting terminal size --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 988ff001..814a8772 100755 --- a/neofetch +++ b/neofetch @@ -2232,7 +2232,7 @@ get_term_size() { fi # Get terminal width/height if \033[14t is unsupported. - if [[ -z "$term_width" && "$image_backend" == "w3m" ]]; then + if [[ -z "$term_width" ]]; then if type -p xdotool >/dev/null 2>&1; then current_window="$(xdotool getactivewindow)" source <(xdotool getwindowgeometry --shell "$current_window")