changeset 13 | d7ce3b1dddc4 |
parent 3 | dae770da6416 |
--- 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",