diff --git a/colors.sh b/colors.sh new file mode 100755 index 0000000..b2d7464 --- /dev/null +++ b/colors.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +clear + +WIDTH=$(tput cols) +HEIGHT=$(tput lines) +NUMBARS=8 +BARWIDTH=$(expr $WIDTH / $NUMBARS) + +for (( y = 0; y < $HEIGHT; y++ )); do + for (( n = 0; n < $NUMBARS; n++ )); do + for (( x = 0; x < $BARWIDTH; x++ )); do + echo -en "\e[3"$n"m█" + done + done + echo +done