From d7bf5da48e594a02c7b99a95ba24dc032a83e495 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Mar 2016 10:20:06 +1100 Subject: [PATCH] Hardcode iterm2 mode to iterm2 --- neofetch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/neofetch b/neofetch index a2184044..ca0f1f99 100755 --- a/neofetch +++ b/neofetch @@ -2803,6 +2803,13 @@ if [ "$image" != "off" ]; then # Hide the cursor printf "\033[?25l" + # If iterm2 is detected use iterm2 backend. + if [ -n "$ITERM_PROFILE" ]; then + image_backend="iterm2" + else + image_backend="w3m" + fi + # Find w3mimgdisplay [ "$image_backend" == "w3m" ] && \ [ "$image" != "ascii" ] && \