jacob-pro / solar-screen-brightness

Automatically adjust monitor / screen brightness at night using sunrise/sunset times
GNU Lesser General Public License v3.0
54 stars 4 forks source link

[Feature Request] Equalizer-like adjustment of the brightness curve. #35

Open 10bn opened 5 months ago

10bn commented 5 months ago

It would be really helpful if one could adjust the brightness curve more precisely for personal preference.

image

Great tool, thanks! Maybe this will be of help or inspiration for further development work. https://github.com/basnijholt/adaptive-lighting

jpbaril commented 5 months ago

My request from last week (https://github.com/jacob-pro/solar-screen-brightness/issues/34) is basically the offsetting part of this. Either you use a defined fixed transition duration and place its occurring relative to sunset/sunrise time or you build this placement and duration by additioning brightness_mode_time_light + brightness_mode_time_dark (shown at https://github.com/basnijholt/adaptive-lighting?tab=readme-ov-file#custom-brightness-ramps-using-brightness_mode-with-linear-and-tanh). I rather having to input a total duration time and relative placement than doing an addition of two transition segment times.

As for the curve shape, I don't see it as critical. I'm fine with linear.

What I think may be a nice-to-have, is to have a different transition (duration,offset) for sunset and sunrise. I really wish Adaptive lightning would have that as I use it myself, but for my screen brightness, I'm not sure.