Update
This commit is contained in:
parent
28f3612839
commit
de6a818147
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@
|
||||||
systemctl --user start get-theme-times.service
|
systemctl --user start get-theme-times.service
|
||||||
fi
|
fi
|
||||||
echo "Getting dates:"
|
echo "Getting dates:"
|
||||||
SUNRISE=`date -d \`cat /tmp/wttr.sunrise\` +%s`
|
SUNRISE=`cat /tmp/wttr.sunrise | date +%s`
|
||||||
echo "Sunrise: $SUNRISE"
|
echo "Sunrise: $SUNRISE"
|
||||||
SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s`
|
SUNSET=`cat /tmp/wttr.sunset | date +%s`
|
||||||
echo "Sunset: $SUNSET"
|
echo "Sunset: $SUNSET"
|
||||||
CURRENT=`date +%s`
|
CURRENT=`date +%s`
|
||||||
echo "Current: $CURRENT"
|
echo "Current: $CURRENT"
|
||||||
|
|
Loading…
Reference in a new issue