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 /config.def.h | |
parent | ae0050e28e4126c1570d95daf3879e612329b882 (diff) |
Colors and task labels configurable in config.h
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h new file mode 100644 index 0000000..14c59a0 --- /dev/null +++ b/config.def.h @@ -0,0 +1,18 @@ +/* See LICENSE file for copyright and license details. */ + +/* + * task_todo_color, task_done_color: colors in which task_todo_str and + * task_done_str, respectively, are to be printed in. Colors must be set using + * ANSI escape codes. + */ +static const char task_todo_color[] = "\033[31;1m"; /* Red */ +static const char task_done_color[] = "\033[32;1m"; /* Green */ + +/* + * task_todo_str, task_done_str: the appearance of the status labels can be + * modified here. + */ +static const char task_todo_str[] = "[TODO]"; +static const char task_done_str[] = "[DONE]"; + + |