2024-12-12 15:55 : id 406
This commit is contained in:
parent
f277bd4f03
commit
428f2be7d8
@ -126,8 +126,7 @@ in
|
|||||||
current_time=$(date +%H:%M)
|
current_time=$(date +%H:%M)
|
||||||
|
|
||||||
# Calculate the sunrise and sunset times for today using sunwait
|
# Calculate the sunrise and sunset times for today using sunwait
|
||||||
sunrise_time=$(sunwait rise $LATITUDE $LONGITUDE | awk '{print $2}')
|
light=$(sunwait poll)
|
||||||
sunset_time=$(sunwait set $LATITUDE $LONGITUDE | awk '{print $2}')
|
|
||||||
echo $sunrise_time
|
echo $sunrise_time
|
||||||
echo $sunset_time
|
echo $sunset_time
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user