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