From d9d7b79d726431eab8b6693b2cba12870b8b87b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor=20Rafael=20Chris=C3=B3stomo?= Date: Fri, 5 May 2017 22:15:19 -0300 Subject: [PATCH] Patch to make w3m image backend work on FreeBSD 11 Just an extra possible directory to search for w3m-img before outputting that it wasn't found on the system. --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9a233032..f967eb9a 100755 --- a/neofetch +++ b/neofetch @@ -2292,7 +2292,10 @@ get_w3m_img_path() { elif [[ -x "/usr/libexec64/w3m/w3mimgdisplay" ]]; then w3m_img_path="/usr/libexec64/w3m/w3mimgdisplay" - + + elif [[ -x "/usr/local/libexec/w3m/w3mimgdisplay" ]]; then + w3m_img_path="/usr/local/libexec/w3m/w3mimgdisplay" + else err "Image: w3m-img wasn't found on your system" fi