remove test from if statement
This commit is contained in:
parent
6f004a244f
commit
52e0884250
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
|
||||
|
||||
|
|
Reference in New Issue