steel99xl / Mac-like-automatic-brightness

A simple script to provide a "Mac" like automatic brightness adjustemnt/ animation
17 stars 4 forks source link

Too bright #1

Closed MarkGhanz closed 2 years ago

MarkGhanz commented 2 years ago

It seems SensorToDisplayScale is way too much, locking the screen to its max brightness even in a completely dark room. I think it would be better to change it to 1. Even at 1 It can get decent brightness indoors.

steel99xl commented 2 years ago

What version of the framework laptop do you have?

steel99xl commented 2 years ago

No response

josh1244 commented 2 years ago

I have 11th gen and it was the same for me. 1 fixed it, but I would like to decrease it a bit more.

steel99xl commented 2 years ago

you should be able to decrees the SensorToDisplayScale to have the screen be dimmer when compared to the default value. Check the reported max brightness for your screen and light sensor. I would assume they would be the same as the 12th gens but idk

Also at least on 12th gen you cant have the brightness keys working with the sensor

josh1244 commented 2 years ago

The values are correct and the same for the 11th. I was wondering if I could go less than one, say 0.75 or 0.5.

steel99xl commented 2 years ago

Yea but bash by default doesn't do floating point math. Thats really weird tho sense if you drop below a ratio of 23 you wont be able to achieve maximum screen brightness (assuming your sensor tops out at 3984)