-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.h
54 lines (46 loc) · 1.36 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef __CONFIG_H__
#define __CONFIG_H__
#include <ncurses.h>
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_MAGENTA;
static int non_selected_color = COLOR_WHITE;
static int menu_selected_color = COLOR_CYAN;
static int menu_non_selected_color = COLOR_GREEN;
static int item_count_color = COLOR_YELLOW;
static int due_faraway_color = COLOR_GREEN;
static int due_soon_color = COLOR_YELLOW;
static int due_urgent_color = COLOR_RED;
/* KEYS */
#define BINDING_QUIT 'q'
#define BINDING_SCROLL_UP 'k'
#define BINDING_SCROLL_DOWN 'j'
#define BINDING_SCROLL_LEFT 'h'
#define BINDING_SCROLL_RIGHT 'l'
#define BINDING_JUMP_TOP 'g'
#define BINDING_JUMP_BOTTOM 'G'
#define BINDING_MOVE_ITEM_UP 'K'
#define BINDING_MOVE_ITEM_DOWN 'J'
#define BINDING_MOVE_ITEM_LEFT 'H'
#define BINDING_MOVE_ITEM_RIGHT 'L'
#define BINDING_DELETE_ITEM 'D'
#define BINDING_APPEND_ITEM 'a'
#define BINDING_INSERT_ABOVE 'O'
#define BINDING_INSERT_BELOW 'o'
#define BINDING_MOVE_MENU_LEFT '<'
#define BINDING_MOVE_MENU_RIGHT '>'
#define BINDING_EDIT_ITEM 'i'
#define BINDING_SELECT '\n'
#define BINDING_TOGGLE_DONE ' '
#define BINDING_WRITE 'w'
#endif