JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
use struct instead of array.
[st.git] / config.def.h
1 #define TAB    8
2 #define TNAME "st-256color"
3 #define FONT "6x13"
4 #define BOLDFONT "6x13bold"
5 #define BORDER 2
6 #define SHELL "/bin/sh"
7
8 /* Terminal colors */
9 static const char *colorname[] = {
10         "black",
11         "#CC0000",
12         "#4E9A06",
13         "#C4A000",
14         "#3465A4",
15         "#75507B",
16         "#06989A",
17         "#888a85",
18         "#555753",
19         "#EF2929",
20         "#8AE234",
21         "#FCE94F",
22         "#729FCF",
23         "#AD7FA8",
24         "#34E2E2",
25         "#EEEEEC"
26 };
27
28 /* Default colors (colorname index) */
29 /* foreground, background, cursor, visual bell */
30 #define DefaultFG 7
31 #define DefaultBG 0
32 #define DefaultCS 1
33
34 /* special keys */
35 static Key key[] = {
36         { XK_BackSpace, "\177" },
37         { XK_Delete,    "\033[3~" },
38         { XK_Home,      "\033[1~" },
39         { XK_End,       "\033[4~" },
40         { XK_Prior,     "\033[5~" },
41         { XK_Next,      "\033[6~" },
42         { XK_F1,        "\033OP"   },
43         { XK_F2,        "\033OQ"   },
44         { XK_F3,        "\033OR"   },
45         { XK_F4,        "\033OS"   },
46         { XK_F5,        "\033[15~" },
47         { XK_F6,        "\033[17~" },
48         { XK_F7,        "\033[18~" },
49         { XK_F8,        "\033[19~" },
50         { XK_F9,        "\033[20~" },
51         { XK_F10,       "\033[21~" },
52         { XK_F11,       "\033[23~" },
53         { XK_F12,       "\033[24~" },
54 };
55
56 static char gfx[] = {
57         ['}'] = 'f',
58         ['.'] = 'v',
59         [','] = '<',
60         ['+'] = '>',
61         ['-'] = '^',
62         ['h'] = '#',
63         ['~'] = 'o',
64         ['a'] = ':',
65         ['f'] = '\\',
66         ['`'] = '+',
67         ['z'] = '>',
68         ['{'] = '*',
69         ['q'] = '-',
70         ['i'] = '#',
71         ['n'] = '+',
72         ['y'] = '<',
73         ['m'] = '+',
74         ['j'] = '+',
75         ['|'] = '!',
76         ['g'] = '#',
77         ['o'] = '~',
78         ['p'] = '-',
79         ['r'] = '-',
80         ['s'] = '_',
81         ['0'] = '#',
82         ['w'] = '+',
83         ['u'] = '+',
84         ['t'] = '+',
85         ['v'] = '+',
86         ['l'] = '+',
87         ['k'] = '+',
88         ['x'] = '|',
89         [255] = 0,
90 };