summaryrefslogtreecommitdiff
path: root/src/status/datetime.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-10-02 15:42:39 +0200
committernorly <ny-git@enpas.org>2013-10-02 15:42:39 +0200
commit665fd156d476563148015a174d8c695a1350bfa4 (patch)
tree5210fea6823ce7f6744fc0bce5f5bac644b30800 /src/status/datetime.c
parent69497249f2f423b50b3385a83da3ac9a418166c9 (diff)
Change named colors to hex values
Diffstat (limited to 'src/status/datetime.c')
-rw-r--r--src/status/datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/status/datetime.c b/src/status/datetime.c
index d7d9d0a..304b858 100644
--- a/src/status/datetime.c
+++ b/src/status/datetime.c
@@ -19,7 +19,7 @@ void status_datetime(GlobalData *g)
nows = time(NULL);
if (nows == ((time_t) -1)) {
- s.color = "red";
+ s.color = "#FF0000"; // red
s.text = "ERROR: DATETIME";
line_append_item(g, &s);
@@ -35,7 +35,7 @@ void status_datetime(GlobalData *g)
);
line_append_item(g, &s);
- s.color = "grey";
+ s.color = "#BEBEBE"; // grey
snprintf(text, sizeof(text),
"%d:%.2d"
#ifdef SHOW_SECONDS