]> git.sur5r.net Git - i3/i3status/blobdiff - src/print_run_watch.c
s/while [ 1 ]/while :/ (Thanks cls)
[i3/i3status] / src / print_run_watch.c
index 807e322b07f4989f65dfbbb7bce31575834d0c85..455130e91bab049ce1c024e42f75f1b061e5a355 100644 (file)
@@ -6,7 +6,7 @@ void print_run_watch(const char *title, const char *pidfile, const char *format)
        bool running = process_runs(pidfile);
        const char *walk;
 
-       printf("%s", (running ? color("#00FF00") : color("#FF0000")));
+       printf("%s", (running ? color("color_good") : color("color_bad")));
 
         for (walk = format; *walk != '\0'; walk++) {
                 if (*walk != '%') {