Testing
This commit is contained in:
parent
8d8fc06801
commit
73b3ffc1be
1 changed files with 4 additions and 2 deletions
|
@ -54,9 +54,11 @@
|
|||
systemctl --user start get-theme-times.service
|
||||
fi
|
||||
echo "Getting dates:"
|
||||
SUNRISE=$(date -d "$(cat /tmp/wttr.sunset)" +%s)
|
||||
sr=$(cat /tmp/wttr.sunrise)
|
||||
ss=$(cat /tmp/wttr.sunset)
|
||||
SUNRISE=`date -d $sr +%s`
|
||||
echo "Sunrise: $SUNRISE"
|
||||
SUNSET=$(date -d "$(cat /tmp/wttr.sunset)" +%s)
|
||||
SUNSET=`date -d $ss +%s`
|
||||
echo "Sunset: $SUNSET"
|
||||
CURRENT=`date +%s`
|
||||
echo "Current: $CURRENT"
|
||||
|
|
Loading…
Reference in a new issue