anishathalye / lumen

Magic auto brightness based on screen contents 💡
https://anishathalye.com/lumen/
GNU General Public License v3.0
2.29k stars 52 forks source link

Too slow #20

Open austincondiff opened 8 years ago

austincondiff commented 8 years ago

Lumen does not adjust in real time often blinding me when changing to a bright screen for half a second. Then when I switch to a dark screen it takes the same time to see it.

Please add a setting to adjust refresh rate.

anishathalye commented 8 years ago

Yeah… right now, it's hard-coded in https://github.com/anishathalye/lumen/blob/master/Lumen/Constants.h#L11

Making it too fast consumes too much CPU.

How should a setting be exposed to the user? (and is this too low-level to expose?)

anish commented 8 years ago

@okayzed wrong person

okayzed commented 8 years ago

@anish was an error, but let us rejoice that our paths crossed and we came to exchange letters, however briefly, and may you find yourself well in the future

anishathalye commented 8 years ago

@okayzed yeah, that's a good idea! related to #1

Etheryte commented 8 years ago

Perhaps there are additional heuristics that can be used as indicators for a recalculation? For example, mouse clicks would be a good cue that a recheck may be in order, though I'm not sure if there's a good cheap way to monitor that.