1
0
Disbranĉigi 0

Fixed text colors

This commit is contained in:
Jaidyn Ann 2017-03-26 16:08:42 -05:00
parent 0c1f19f10a
commit 6dc5e41ecb

View File

@ -24,16 +24,16 @@ do
then then
if [ $(echo "$widthi % 2" | bc) -eq 1 ] if [ $(echo "$widthi % 2" | bc) -eq 1 ]
then then
printf "$(tput setab 7) $text" printf "$(tput setab 7)$(tput setaf 0) $text"
else else
printf "$(tput setab 0) $text" printf "$(tput setab 0)$(tput setaf 7) $text"
fi fi
else else
if [ $(echo "$widthi % 2" | bc) -eq 0 ] if [ $(echo "$widthi % 2" | bc) -eq 0 ]
then then
printf "$(tput setab 7) $text" printf "$(tput setab 7)$(tput setaf 0) $text"
else else
printf "$(tput setab 0) $text" printf "$(tput setab 0)$(tput setaf 7) $text"
fi fi
fi fi
done done