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
if [ $(echo "$widthi % 2" | bc) -eq 1 ]
then
printf "$(tput setab 7) $text"
printf "$(tput setab 7)$(tput setaf 0) $text"
else
printf "$(tput setab 0) $text"
printf "$(tput setab 0)$(tput setaf 7) $text"
fi
else
if [ $(echo "$widthi % 2" | bc) -eq 0 ]
then
printf "$(tput setab 7) $text"
printf "$(tput setab 7)$(tput setaf 0) $text"
else
printf "$(tput setab 0) $text"
printf "$(tput setab 0)$(tput setaf 7) $text"
fi
fi
done