remove test from if statement
This commit is contained in:
parent
6f004a244f
commit
52e0884250
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue