hearts in bash

This commit is contained in:
Loic Nageleisen 2014-01-23 14:15:00 +01:00
parent fd27f9a3ad
commit 7e1bb4b033
2 changed files with 4 additions and 2 deletions

4
hearts Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
while sleep 0.07; do
printf "%-$(( ( RANDOM % `tput cols` ) - 1))s\e[0;$(( 30 + ($RANDOM % 8) ))m♥\n"
done