Fixed Error
This commit is contained in:
parent
ebd17c5d38
commit
4c1a595430
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ do
|
||||||
CurrentBrightness=$(cat $BLightPath)
|
CurrentBrightness=$(cat $BLightPath)
|
||||||
|
|
||||||
# Add MinimumBrighness here to not effect comparison but the outcome
|
# Add MinimumBrighness here to not effect comparison but the outcome
|
||||||
Light=$(LANG=C printf "%.0f" $(echo "scale=2; $Light + ( $MinimumBrightness * $SensorToDisplayScale ) " | bc ))
|
Light=$(LANG=C printf "%.0f" $(echo "scale=2; $Light + ( ($MaxScreenBrightness * ( $MinimumBrightness / 100 )) / $SensorToDisplayScale ) " | bc ))
|
||||||
|
|
||||||
# Gernate a TempLight value for the screen to be set to
|
# Gernate a TempLight value for the screen to be set to
|
||||||
# Float math thanks Matthias_Wachter
|
# Float math thanks Matthias_Wachter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue