From 6dc5e41ecb5c3a35c4d42659a12182f87bb3da73 Mon Sep 17 00:00:00 2001 From: jadedctrl Date: Sun, 26 Mar 2017 16:08:42 -0500 Subject: [PATCH] Fixed text colors --- render.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/render.sh b/render.sh index 0ac2e30..7df8925 100644 --- a/render.sh +++ b/render.sh @@ -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