This commit is contained in:
albert 2024-06-18 13:22:46 +09:00
parent fb79363fc5
commit bff12bc1eb
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -54,7 +54,7 @@
systemctl --user start get-theme-times.service systemctl --user start get-theme-times.service
fi fi
echo "Getting dates:" echo "Getting dates:"
SUNRISE=`date --date="$(cat /tmp/wttr.sunset)" +%s` SUNRISE=`date --date="$(cat /tmp/wttr.sunrise)" +%s`
echo "Sunrise: $SUNRISE" echo "Sunrise: $SUNRISE"
SUNSET=`date --date="$(cat /tmp/wttr.sunset)" +%s` SUNSET=`date --date="$(cat /tmp/wttr.sunset)" +%s`
echo "Sunset: $SUNSET" echo "Sunset: $SUNSET"