[arch-projects] [INITSCRIPTS][PATCH 1/2] Fix coloring on light terms

Sebastien Luttringer seblu at seblu.net
Wed May 4 01:18:17 CEST 2011


Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
 functions |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/functions b/functions
index fd0928e..6594fd2 100644
--- a/functions
+++ b/functions
@@ -51,20 +51,20 @@ fi
 
 # colors:
 if [[ $USECOLOR = YES || $USECOLOR = yes ]]; then
-	C_MAIN="\033[1;37;40m"      # main text
+	C_MAIN="\033[0;1m"         # main text
 
-	C_OTHER="\033[1;34;40m"     # prefix & brackets
-	C_SEPARATOR="\033[1;30;40m" # separator
+	C_OTHER="\033[1;34m"        # prefix & brackets
+	C_SEPARATOR="\033[1;30m"    # separator
 
-	C_BUSY="\033[0;36;40m"      # busy
-	C_FAIL="\033[1;31;40m"      # failed
-	C_DONE="\033[1;37;40m"      # completed
-	C_BKGD="\033[1;35;40m"      # backgrounded
+	C_BUSY="\033[0;36m"         # busy
+	C_FAIL="\033[1;31m"         # failed
+	C_DONE="\033[0;1m"          # completed
+	C_BKGD="\033[1;35m"         # backgrounded
 
-	C_H1="\033[1;37;40m"        # highlight text 1
-	C_H2="\033[1;36;40m"        # highlight text 2
+	C_H1="\033[0;1m"            # highlight text 1
+	C_H2="\033[1;36m"           # highlight text 2
 
-	C_CLEAR="\033[1;0m"
+	C_CLEAR="\033[0m"
 fi
 
 if [[ -t 1 ]]; then
-- 
Sebastien "Seblu" Luttringer



More information about the arch-projects mailing list