Some colors added
Some colors added

--- a/src/freec.c
+++ b/src/freec.c
@@ -178,7 +178,7 @@
 	unsigned int worker;
 
 	mem->mem_used = mem->mem_total -
-	                 mem->mem_free; //FIXME not the exact
+	                 mem->mem_free; //FIXME not the exact formula
 
 	worker = (mem->mem_used * conf->bar_length) / mem->mem_total;
 	mem->pixels_mem_used = worker;
@@ -203,29 +203,28 @@
 display_meminfo(struct meminfo *mem, struct conf_info *conf)
 {
 	int i;
-	fputs(MEM_TAG" [", stdout);
-	i = mem->pixels_mem_used; //nee to keep mem->pixels*
-	while(i--)
+	fputs(MEM_TAG" ["COLOR_USED, stdout);
+	i = mem->pixels_mem_used; //need to keep mem->pixels
+	while(i-->0)
 		putchar('u');
 
+	fputs(COLOR_FREE, stdout);
 	i = mem->pixels_mem_free;
-	while(i--)
+	while(i-->0)
 		putchar('f');
-
-	putchar(']');
-	putchar('\n');
-
-	fputs(SWAP_TAG" [", stdout);
+	fputs(COLOR_NORMAL"]\n", stdout);
+
+
+	fputs(SWAP_TAG" ["COLOR_USED, stdout);
 	i = mem->pixels_swap_used;
-	while(i--)
+	while(i-->0)
 		putchar('u');
-
+	fputs(COLOR_FREE, stdout);
 	i = mem->pixels_swap_free;
-	while(i--)
+	while(i-->0)
 		putchar('f');
 
-	putchar(']');
-	putchar('\n');
+	fputs(COLOR_NORMAL"]\n", stdout);
 }
 
 

--- a/src/freec.h
+++ b/src/freec.h
@@ -2,6 +2,21 @@
 #define H_FREE_INCLUDED
 
 /* START OF CONFIGURATION DEFINES */
+#define RED    "\033[;31m"
+#define GREEN  "\033[;32m"
+#define YELLOW "\033[;33m"
+#define BLUE   "\033[;34m"
+#define PURPLE "\033[;35m"
+#define CYAN   "\033[;36m"
+#define NORMAL "\033[;m"
+
+#define COLOR_USED   RED 
+#define COLOR_FREE   GREEN
+#define COLOR_NORMAL NORMAL
+
+
+
+
 
 
 /* You should not have to touch below */

file:b/src/template (new)
--- /dev/null
+++ b/src/template
@@ -1,1 +1,4 @@
+Mem:  0 [uuuuuuuuuucccbffffffff] 4GB
+Total: XX, Used: XX, Cached: XX, Buffered: XX, Free: XX
+Swap: 0 [uuufffffffffffffffffff] 200MB