diff options
author | aksr | 2017-01-25 19:16:28 +0100 |
---|---|---|
committer | aksr | 2017-01-25 19:16:28 +0100 |
commit | 691f22f35aefb94ab43fbfa91dd626cf77c09c95 (patch) | |
tree | bee0b669ade864f15e33195a1713e62e5d2a90c9 /conf.h | |
parent | 13df2d4543e8501e32cfc3c7568f7960e31f44d5 (diff) | |
download | aur-691f22f35aefb94ab43fbfa91dd626cf77c09c95.tar.gz |
Use fbpad-mkfn if it's available...
Diffstat (limited to 'conf.h')
-rw-r--r-- | conf.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/conf.h b/conf.h new file mode 100644 index 000000000000..b6e93e133110 --- /dev/null +++ b/conf.h @@ -0,0 +1,60 @@ +/* framebuffer device */ +#define FBDEV "/dev/fb0" + +/* list of tags */ +#define TAGS "xnlhtr01uiva-" +#define TAGS_SAVED "" + +/* programs mapped to m-c, m-m, m-e */ +#define SHELL {"bash"} +#define EDITOR {"vim"} +#define MAIL {"mutt"} + +/* fbval_t should match framebuffer depth */ +typedef unsigned int fbval_t; + +/* tinyfont files for regular, italic, and bold fonts */ +#define FR "/usr/share/fbpad/font-r.tf" +#define FI "/usr/share/fbpad/font-i.tf" +#define FB "/usr/share/fbpad/font-b.tf" + +/* foreground and background colors */ +#define FGCOLOR COLOR0 +#define BGCOLOR COLORF + +/* where to write the screen shot */ +#define SCRSHOT "/tmp/scr" + +/* lock command password; NULL disables locking */ +#define PASS NULL + +/* optimized version of fb_val() */ +#define FB_VAL(r, g, b) fb_val((r), (g), (b)) + +/* brighten colors 0-7 for bold text */ +#define BRIGHTEN 1 + +/* black */ +#define COLOR0 0x000000 +#define COLOR8 0x555555 +/* red */ +#define COLOR1 0xaa0000 +#define COLOR9 0xff5555 +/* green */ +#define COLOR2 0x00aa00 +#define COLORA 0x55ff55 +/* yellow */ +#define COLOR3 0xaa5500 +#define COLORB 0xffff55 +/* blue */ +#define COLOR4 0x0000aa +#define COLORC 0x5555ff +/* magenta */ +#define COLOR5 0xaa00aa +#define COLORD 0xff55ff +/* cyan */ +#define COLOR6 0x00aaaa +#define COLORE 0x55ffff +/* white */ +#define COLOR7 0xaaaaaa +#define COLORF 0xffffff |