I found the way to set dark mode:
defaults write -g NSRequiresAquaSystemAppearance -bool true
But have no idea set it to Auto with
It could also be great to explain how you discovered this.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
The answer is in step 7 and step 9.
Setup git in the
~/Library/Preferences/ folder to determine the incoming changes.
cd ~/Library/Preferences/ git init git add . git commit -m "init commit"
.GlobalPreferences.plisthas been changed.
.GlobalPreferences.plistin VSCode with Binary Plist plugin to view plist file as xml syntax.
.GlobalPreferences.plistfile content in VSCode and paste to Diffchecker Original Text.
.GlobalPreferences.plist file content in VSCode and paste to Diffchecker Changed Text. I found the diff content is:
defaults write command to set the Appearance to Auto
defaults write -g AppleInterfaceStyleSwitchesAutomatically -bool true