From 044ee726198075a0c2759bdd2d22181e73208b41 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sat, 26 Mar 2016 11:49:43 +1100 Subject: [PATCH] fixed if statement for linux resolution --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index dcc22971..c8494b61 100755 --- a/neofetch +++ b/neofetch @@ -1285,7 +1285,7 @@ getresolution () { esac resolution=${resolution//\*} - elif type -p xdpyinfo >/dev/null 2>&1 && \ + elif type -p xdpyinfo >/dev/null 2>&1; then resolution=$(xdpyinfo 2>/dev/null | awk '/dimensions:/ {printf $2}') fi ;;