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)
|
||||
|
||||
# Calculate the sunrise and sunset times for today using sunwait
|
||||
sunrise_time=$(sunwait rise $LATITUDE $LONGITUDE | awk '{print $2}')
|
||||
sunset_time=$(sunwait set $LATITUDE $LONGITUDE | awk '{print $2}')
|
||||
light=$(sunwait poll)
|
||||
echo $sunrise_time
|
||||
echo $sunset_time
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user