term: allow specifying truecolors with escape codes
[fbpad.git] / conf.h
blob463e5802bf7a5ff4176fe72a5ce12d04a408de97
1 /* framebuffer device */
2 #define FBDEV "/dev/fb0"
4 /* list of tags */
5 #define TAGS "xnlhtr01uiva-"
6 #define TAGS_SAVED ""
8 /* programs mapped to m-c, m-m, m-e */
9 #define SHELL {"sh"}
10 #define EDITOR {"vi"}
11 #define MAIL {"mailx", "-f", "+inbox"}
13 /* fbval_t should match framebuffer depth */
14 typedef unsigned int fbval_t;
16 /* tinyfont files for regular, italic, and bold fonts */
17 #define FR "/path/to/font.tf"
18 #define FI NULL
19 #define FB NULL
21 /* foreground and background colors */
22 #define FGCOLOR COLOR0
23 #define BGCOLOR COLORF
25 /* where to write the screen shot */
26 #define SCRSHOT "/tmp/scr"
28 /* lock command password; NULL disables locking */
29 #define PASS NULL
31 /* optimized version of fb_val() */
32 #define FB_VAL(r, g, b) fb_val((r), (g), (b))
34 /* black */
35 #define COLOR0 0x000000
36 #define COLOR8 0x555555
37 /* red */
38 #define COLOR1 0xaa0000
39 #define COLOR9 0xff5555
40 /* green */
41 #define COLOR2 0x00aa00
42 #define COLORA 0x55ff55
43 /* yellow */
44 #define COLOR3 0xaa5500
45 #define COLORB 0xffff55
46 /* blue */
47 #define COLOR4 0x0000aa
48 #define COLORC 0x5555ff
49 /* magenta */
50 #define COLOR5 0xaa00aa
51 #define COLORD 0xff55ff
52 /* cyan */
53 #define COLOR6 0x00aaaa
54 #define COLORE 0x55ffff
55 /* white */
56 #define COLOR7 0xaaaaaa
57 #define COLORF 0xffffff