From 926dea972b82d1b81e5501e63c8d4395ee274b84 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 9 Dec 2016 01:21:08 +1100 Subject: [PATCH] Images: Fix blank images in Iterm2, closes #513 --- neofetch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/neofetch b/neofetch index 47aa6169..605c05d4 100755 --- a/neofetch +++ b/neofetch @@ -1877,9 +1877,7 @@ get_cols() { get_image_backend() { # This function determines which image backend to use # by checking for programs and etc. - - # Automatically find w3m-img - get_w3m_img_path + get_image_program # Fallback to ascii mode if imagemagick isn't installed. type -p convert >/dev/null 2>&1 || image_backend="ascii" @@ -1905,7 +1903,6 @@ get_image_backend() { return fi - get_image_program get_term_size # Fallback to ascii mode if terminal size wasn't found. @@ -2006,6 +2003,7 @@ get_image_program() { else image_program="w3m" + get_w3m_img_path fi }