X-Git-Url: https://git.danieliu.xyz/?p=taskasaur.git;a=blobdiff_plain;f=config.h;h=153eb9c3545b6285f6227e5865bc66840ad4bb9c;hp=709b9c330f713031b202df0921559fe9f8a74134;hb=7cd288f609ab7d99e5fb5b8da07d2c1b6f32907d;hpb=f4c2725eadab1725646757ffbceadfb5bec44ed2 diff --git a/config.h b/config.h index 709b9c3..153eb9c 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,34 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#include + static char font[] = "Source Code Pro:size=12"; +/* COLORS */ + +/* Use the ncurses defined colors, here's a list of them: + * COLOR_BLACK + * COLOR_RED + * COLOR_GREEN + * COLOR_YELLOW + * COLOR_BLUE + * COLOR_MAGENTA + * COLOR_CYAN + * COLOR_WHITE +*/ + +static int selected_color = COLOR_CYAN; +static int non_selected_color = COLOR_WHITE; + +/* KEYS */ +#define BINDING_QUIT 'q' +#define BINDING_SCROLL_UP 'k' +#define BINDING_SCROLL_DOWN 'j' +#define BINDING_JUMP_TOP 'g' +#define BINDING_JUMP_BOTTOM 'G' +#define BINDING_SELECT '\n' + +#endif