Do you prefer dark mode for most apps but wish to exclude some? If so, here's how to enable dark mode globally but keep specific apps exempt from the policy!
📖
Note: Some apps support changing between light/dark modes natively. Use this guide only when the native functionality doesn't exist yet.
- Open a shell
- Let's find the ID of the app we'd like to exclude from dark mode:
osascript -e 'id of app "NAME_OF_APP_GOES_HERE"'
- Example: "Paw" or "FindMy"
- Next, disable dark mode for it:
defaults write BUNDLE_NAME_GOES_HERE NSRequiresAquaSystemAppearance -bool Yes
- Example: "com.luckymarmot.Paw-setapp" or "com.apple.findmy"
- If the app is open, close it and re-open it.
- The app should now be exempt from dark mode!
Common IDs
Name | ID |
---|---|
Find My | com.apple.findmy |
Messages | com.apple.MobileSMS |
Safari | com.apple.Safari |
Visual Studio Code | com.microsoft.VSCode |
Slack (From App Store) | com.tinyspeck.slackmacgap |
SetApp | com.setapp.DesktopClient |
Spotify | com.spotify.client |