chiark / gitweb /
use lightgrey not darkcyan
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:21:41 +0000 (01:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:21:41 +0000 (01:21 +0100)
cprogs/xacpi-simple.c

index 52e02a2..bef84c1 100644 (file)
@@ -6,7 +6,7 @@
  *     green   |  black        |  dimgrey      charging
  *     cyan    |  black        |  dimgrey      charged
  *     grey    |  black        |  dimgrey      charging&discharching!
- *     darkcyan        |  black        |  dimgrey      none of the above
+ *     lightgrey |  black      |  dimgrey      none of the above
  *     blue    |  red          |  dimgrey      discharging - low!
  *     green   |  red          |  dimgrey      charging - low
  *     cyan    |  red          |  dimgrey      charged - low [1]
@@ -470,7 +470,7 @@ static void initacquire(void) {
   C(blue,      discharging)                    \
   C(green,     charging)                       \
   C(cyan,      charged)                                \
-  C(darkcyan,  notcharging)                    \
+  C(lightgrey,  notcharging)                   \
   C(grey,      confusing)                      \
   C(black,     normal)                         \
   C(red,       low)                            \
@@ -633,7 +633,7 @@ static void show(void) {
   setforeground(&gc_remain,
                !(charging_mask & CHGMASK_CHG_DIS) ?
                (~charging_mask & (1u << CHGST_CHARGED) ?
-                pix_darkcyan : pix_cyan) :
+                pix_lightgrey : pix_cyan) :
                !(~charging_mask & CHGMASK_CHG_DIS) ? pix_grey :
                charging_mask & (1u<<CHGST_CHARGING)
                ? pix_green : pix_blue);