2024-12-12 16:20 : id 410
This commit is contained in:
parent
a1e466958d
commit
c971ed3051
@ -135,9 +135,9 @@ in
|
|||||||
run_a_command
|
run_a_command
|
||||||
while sleep 5; do
|
while sleep 5; do
|
||||||
new_light=$(sunwait poll $LATITUDE $LONGITUDE)
|
new_light=$(sunwait poll $LATITUDE $LONGITUDE)
|
||||||
if [[ "$new_light" != "$light" ]]; do
|
if [[ "$new_light" != "$light" ]]; then
|
||||||
run_a_command
|
run_a_command
|
||||||
do
|
fi
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
executable = true;
|
executable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user