Skip to content

Switch your Mac's system theme based on the ambient light intensity.

License

Notifications You must be signed in to change notification settings

diogot/DarkModeBuddy

 
 

Repository files navigation

DarkModeBuddy

Automatically switch your Mac between light and dark modes based on the ambient light sensor.

I've never been a fan of the built-in "Auto" mode on macOS because it's based on time of day and it will not switch the Mac to Dark Mode while I'm actively using it (which is a problem, since I'm pretty much always using my Mac).

The solution for that is DarkModeBuddy. It's a tiny app that keeps running in the background and reads the ambient light sensor on your Mac (the same one it uses to adjust the brightness of your screen). When the ambient light level falls below the configured value, DarkModeBuddy automatically switches the Mac into Dark Mode. When the ambient light level rises above the configured value, it goes back into Light mode. This does not happen instantaneously: in order to prevent flickering, the change in ambient light level must persist for a certain amount of time, which can also be configured in the app's settings.

Compatibility

DarkModeBuddy requires macOS Catalina and a Mac with a built-in ambient light sensor

The app currently doesn't support older Macs (from before 2018) or external displays with ambient light sensors. Pull requests adding support to hardware that's not currently supported are more than welcome.

Download

DarkModeBuddy is available for free (it's also open-source). If you prefer, you can pay any amount you'd like in order to support my work.

You can always get the latest build on Gumroad.

About

Switch your Mac's system theme based on the ambient light intensity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 69.5%
  • Objective-C 30.0%
  • Shell 0.5%