improve countdown a bit
This commit is contained in:
parent
63302f6a3e
commit
06de6c967d
|
@ -8,8 +8,11 @@ function init_day {
|
|||
day=$(($(date +%d)))
|
||||
|
||||
if [ ! -f $day.rkt ]; then
|
||||
set -m
|
||||
scripts/get-challenge $day &
|
||||
sleep 1
|
||||
scripts/make-day $day
|
||||
scripts/get-challenge $day
|
||||
fg
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue