Fixed text colors
This commit is contained in:
parent
0c1f19f10a
commit
6dc5e41ecb
|
@ -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
|
||||||
|
|
Reference in New Issue