diff --git a/scripts/countdown b/scripts/countdown index ffb57fe..99cb7af 100755 --- a/scripts/countdown +++ b/scripts/countdown @@ -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"