From 52e08842503416d3f4c85247b6bc32d7527c3c83 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sun, 16 Oct 2016 00:43:20 +1100 Subject: [PATCH] remove test from if statement --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 1c63c43b..b24d5fe8 100755 --- a/neofetch +++ b/neofetch @@ -1326,7 +1326,7 @@ getresolution() { scale_factor="$(/usr/libexec/PlistBuddy -c "Print DisplayAnyUserSets:0:0:Resolution" /Library/Preferences/com.apple.windowserver.plist)" - if [ "${scale_factor%.*}" == "1" ]; then + if [ "${scale_factor%.*}" == "2" ]; then resolution="${resolution// @/@2x @}" fi