Skip to content

Toggle dark mode in macOS Mojave based on ambient lighting

License

Notifications You must be signed in to change notification settings

neilsardesai/Ambien

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambien

Toggle dark mode in macOS Mojave based on ambient lighting

Screenshot of Ambien

Ambien is a proof-of-concept app that uses the ambient light sensor on your Mac to switch between dark mode and light mode. When you’re in a dark environment, your Mac will switch to dark mode. When you’re in a brightly-lit environment, your Mac will switch to light mode.

Download Latest Release

IMPORTANT

This app uses a private API to read data from the ambient light sensor. This means that Ambien may not work in a future version of macOS. Heck, it might even be broken right now. I’ve only tested this on my Mid 2014 MacBook Pro, so who knows if it’ll work for you ¯\(ツ)

Also, this was hacked together in several hours and originally intended for my own personal use. So please don’t judge my code 😔

About

Toggle dark mode in macOS Mojave based on ambient lighting

Resources

License

Stars

Watchers

Forks

Packages

No packages published