better countdown
This commit is contained in:
parent
fd0c7a36d0
commit
391c02ebb7
|
@ -26,7 +26,9 @@ if init_day; then
|
|||
if [ $secs_left -le 0 ]; then
|
||||
break
|
||||
fi
|
||||
printf "\r\x1b[K%s secs left..." "$secs_left"
|
||||
out=$(printf "\r\x1b[H\x1b[J";
|
||||
printf "%s secs left..." "$secs_left" | toilet --gay -f slant)
|
||||
echo -n "$out"
|
||||
sleep 0.3
|
||||
done
|
||||
printf "\r\x1b[K"
|
||||
|
|
Loading…
Reference in New Issue