diff options
author | Ariadna Vigo <arivigodr@gmail.com> | 2020-06-27 19:34:37 +0200 |
---|---|---|
committer | Ariadna Vigo <arivigodr@gmail.com> | 2020-06-27 19:34:37 +0200 |
commit | 027774217bd43700d0f30c54d27353a2fbf1e886 (patch) | |
tree | 2e461de420859b29f6147bd5c41aa47ad8cb2e69 /cras.c | |
parent | ae0050e28e4126c1570d95daf3879e612329b882 (diff) |
Colors and task labels configurable in config.h
Diffstat (limited to 'cras.c')
-rw-r--r-- | cras.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -10,6 +10,7 @@ static char *argv0; /* Required here by arg.h */ #include "arg.h" +#include "config.h" #include "tasklst.h" #define NUMARG_SIZE 5 /* 4 digits + '\0' for the numerical arg of -t/-T */ @@ -39,11 +40,6 @@ static void set_tasks_mode(const char *crasfile); static void output_mode(const char *crasfile, int mode, int color); static void mark_tasks_mode(const char *crasfile, const char *id, int value); -static const char task_todo_color[] = "\033[31;1m"; -static const char task_done_color[] = "\033[32;1m"; -static const char task_todo_str[] = "[TODO]"; -static const char task_done_str[] = "[DONE]"; - static void die(const char *fmt, ...) { va_list ap; |