X-Git-Url: https://git.danieliu.xyz/?p=taskasaur.git;a=blobdiff_plain;f=config.h;h=153eb9c3545b6285f6227e5865bc66840ad4bb9c;hp=5668a954159c35413744eac2830627f05b25c6c4;hb=7cd288f609ab7d99e5fb5b8da07d2c1b6f32907d;hpb=f74c3f9aca7f090530179355c399a08bb9ae164a diff --git a/config.h b/config.h index 5668a95..153eb9c 100644 --- a/config.h +++ b/config.h @@ -1,5 +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