r-thomson / Nightfall

A macOS menu bar utility for quickly toggling dark mode, written in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pick Dark/Light mode based on light sensor

ghosalmartin opened this issue · comments

To really crank up the laziness of devs have the modes be determined by the ambient light.

From a quick Google I found

https://stackoverflow.com/questions/17625495/how-do-you-programmatically-access-the-ambient-light-sensor-on-mac-os-x-10-5

But thanks to Apple that may or may not work.

Interesting idea, but I'm not sure if the implementation could be practical enough that people would actually want to use it.

  • Depending on how good the sensor data is, I could see dark mode flipping on and off annoyingly based on fluctuations in light level
  • I could see things getting pretty weird if this feature tries to interact with the system preference to activate dark mode at sundown

I would love to try this out. I'm working outside a lot. I think there's enough sensor information to see that it's quite bright out here... You could also set a threshold, like, it has to be very bright for more than a minute, before it switches to light mode.

Anyway, a shortcut is already great, but I think this would be a good addition!

It will be activate in a percentage range (customizable) of darkness

Closed as not planned