From 38337511e9b5896006f276c111265c985b2af70d Mon Sep 17 00:00:00 2001 From: Fernando Tarlá Cardoso Lemos Date: Tue, 29 Jun 2010 20:59:03 -0300 Subject: Support customized colors. --- src/print_run_watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print_run_watch.c') diff --git a/src/print_run_watch.c b/src/print_run_watch.c index 807e322..455130e 100644 --- a/src/print_run_watch.c +++ b/src/print_run_watch.c @@ -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 != '%') { -- cgit v1.2.3