fbpad: new tag listing
[fbpad.git] / config.h
blob61d18b786a1eb258fb139f0fa946869afc08b55a
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 /* alternative fonts */
22 #define FR0 "/path/to/font.tf"
23 #define FI0 NULL
24 #define FB0 NULL
26 /* foreground and background colors */
27 #define FGCOLOR 0
28 #define BGCOLOR 15
30 /* where to write the screen shot */
31 #define SCRSHOT "/tmp/scr"
33 /* lock command password; NULL disables locking */
34 #define PASS NULL
36 /* optimized version of fb_val() */
37 #define FB_VAL(r, g, b) fb_val((r), (g), (b))
39 /* black */
40 #define COLOR0 0x000000
41 #define COLOR8 0x555555
42 /* red */
43 #define COLOR1 0xaa0000
44 #define COLOR9 0xff5555
45 /* green */
46 #define COLOR2 0x00aa00
47 #define COLOR10 0x55ff55
48 /* yellow */
49 #define COLOR3 0xaa5500
50 #define COLOR11 0xffff55
51 /* blue */
52 #define COLOR4 0x0000aa
53 #define COLOR12 0x5555ff
54 /* magenta */
55 #define COLOR5 0xaa00aa
56 #define COLOR13 0xff55ff
57 /* cyan */
58 #define COLOR6 0x00aaaa
59 #define COLOR14 0x55ffff
60 /* white */
61 #define COLOR7 0xaaaaaa
62 #define COLOR15 0xffffff