--- a/status-loadavg/loadavg.c Wed Dec 10 20:30:53 2014 +0400
+++ b/status-loadavg/loadavg.c Wed Dec 10 20:31:21 2014 +0400
@@ -21,11 +21,11 @@
char *cols[3];
for ( int i = 0; i < 3; i++ ) {
if ( avgs[i] <= GREEN )
- cols[i] = "color='green'";
+ cols[i] = "color='#0f0'";
else if ( avgs[i] <= ORANGE )
- cols[i] = "color='orange'";
+ cols[i] = "color='#fa0'";
else
- cols[i] = "color='red'";
+ cols[i] = "color='#f33'";
}
printf("<span %s>%.2f</span> <span %s>%.2f</span> <span %s>%.2f</span>\n",
--- a/status-mem/mem.c Wed Dec 10 20:30:53 2014 +0400
+++ b/status-mem/mem.c Wed Dec 10 20:31:21 2014 +0400
@@ -48,9 +48,9 @@
#ifdef PANGO_MARKUP
char *color;
- if (used*1.0/total < GREEN) color = "color='green'";
- else if (used*1.0/total > RED) color = "color='red'";
- else if (used*1.0/total > ORANGE) color = "color='orange'";
+ if (used*1.0/total < GREEN) color = "color='#0f0'";
+ else if (used*1.0/total > RED) color = "color='#f33'";
+ else if (used*1.0/total > ORANGE) color = "color='#fa0'";
else color = "";
printf("<span %s>%d/%d</span>\n", color, used/1024, total/1024);
#else
--- a/status-wifi/wifi.c Wed Dec 10 20:30:53 2014 +0400
+++ b/status-wifi/wifi.c Wed Dec 10 20:31:21 2014 +0400
@@ -51,9 +51,9 @@
color_none = color_stop;
} else if (argc>2 && !strcmp(argv[2],"pango")) {
color_stop = "</span>";
- color_red = "<span color='red'>";
- color_green = "<span color='green'>";
- color_orange = "<span color='orange'>";
+ color_red = "<span color='#f33'>";
+ color_green = "<span color='#0f0'>";
+ color_orange = "<span color='#f30'>";
color_none = "<span>";
} else {
color_stop = color_red = color_green = color_orange = color_none = "";