Check, ob Wecker am handy beendet wurde, wird nun erst ab dem Farbwechsel durchgeführt.
This commit is contained in:
parent
c872f1d93d
commit
16bf50bbb3
@ -87,7 +87,6 @@ steps=30 # Alle 30 Sekunden einen Schritt
|
|||||||
for ((i = 0; i < $steps; i++)); do
|
for ((i = 0; i < $steps; i++)); do
|
||||||
current_brightness=$(bc <<< "$start_brightness + ($brightness_step * $i)")
|
current_brightness=$(bc <<< "$start_brightness + ($brightness_step * $i)")
|
||||||
current_colortemp=$(bc <<< "$start_colortemp - ($colortemp_step * $i)")
|
current_colortemp=$(bc <<< "$start_colortemp - ($colortemp_step * $i)")
|
||||||
check_notification
|
|
||||||
|
|
||||||
if [ "$first_brightness_change" = false ]; then
|
if [ "$first_brightness_change" = false ]; then
|
||||||
check_external_light_status
|
check_external_light_status
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user