|
|
@ -87,47 +87,51 @@ unsigned int alpha = 0xee;
|
|
|
|
|
|
|
|
|
|
|
|
static const char *colorname[] = {
|
|
|
|
static const char *colorname[] = {
|
|
|
|
|
|
|
|
|
|
|
|
[0] = "#073642", /* 0: black */
|
|
|
|
/* 8 normal colors */
|
|
|
|
[1] = "#dc322f", /* 1: red */
|
|
|
|
[0] = "#263238", /* black */
|
|
|
|
[2] = "#859900", /* 2: green */
|
|
|
|
[1] = "#ff9800", /* red */
|
|
|
|
[3] = "#b58900", /* 3: yellow */
|
|
|
|
[2] = "#8bc34a", /* green */
|
|
|
|
[4] = "#268bd2", /* 4: blue */
|
|
|
|
[3] = "#ffc107", /* yellow */
|
|
|
|
[5] = "#d33682", /* 5: magenta */
|
|
|
|
[4] = "#03a9f4", /* blue */
|
|
|
|
[6] = "#2aa198", /* 6: cyan */
|
|
|
|
[5] = "#e91e63", /* magenta */
|
|
|
|
[7] = "#eee8d5", /* 7: white */
|
|
|
|
[6] = "#009688", /* cyan */
|
|
|
|
[8] = "#002b36", /* 8: brblack */
|
|
|
|
[7] = "#cfd8dc", /* white */
|
|
|
|
[9] = "#cb4b16", /* 9: brred */
|
|
|
|
|
|
|
|
[10] = "#586e75", /* 10: brgreen */
|
|
|
|
/* 8 bright colors */
|
|
|
|
[11] = "#657b83", /* 11: bryellow */
|
|
|
|
[8] = "#37474f", /* black */
|
|
|
|
[12] = "#839496", /* 12: brblue */
|
|
|
|
[9] = "#ffa74d", /* red */
|
|
|
|
[13] = "#6c71c4", /* 13: brmagenta*/
|
|
|
|
[10] = "#9ccc65", /* green */
|
|
|
|
[14] = "#93a1a1", /* 14: brcyan */
|
|
|
|
[11] = "#ffa000", /* yellow */
|
|
|
|
[15] = "#fdf6e3", /* 15: brwhite */
|
|
|
|
[12] = "#81d4fa", /* blue */
|
|
|
|
|
|
|
|
[13] = "#ad1457", /* magenta */
|
|
|
|
|
|
|
|
[14] = "#26a69a", /* cyan */
|
|
|
|
|
|
|
|
[15] = "#eceff1", /* white */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const char *altcolorname[] = {
|
|
|
|
const char *altcolorname[] = {
|
|
|
|
/* solarized light */
|
|
|
|
/* 8 normal colors */
|
|
|
|
"#eee8d5", /* 0: black */
|
|
|
|
[0] = "#fafafa", /* black */
|
|
|
|
"#dc322f", /* 1: red */
|
|
|
|
[1] = "#ad1457", /* red */
|
|
|
|
"#859900", /* 2: green */
|
|
|
|
[2] = "#26a69a", /* green */
|
|
|
|
"#b58900", /* 3: yellow */
|
|
|
|
[3] = "#ad1457", /* yellow */
|
|
|
|
"#268bd2", /* 4: blue */
|
|
|
|
[4] = "#81d4fa", /* blue */
|
|
|
|
"#d33682", /* 5: magenta */
|
|
|
|
[5] = "#ad1457", /* magenta */
|
|
|
|
"#2aa198", /* 6: cyan */
|
|
|
|
[6] = "#26a69a", /* cyan */
|
|
|
|
"#073642", /* 7: white */
|
|
|
|
[7] = "#cfd8dc", /* white */
|
|
|
|
"#fdf6e3", /* 8: brblack */
|
|
|
|
|
|
|
|
"#cb4b16", /* 9: brred */
|
|
|
|
/* 8 bright colors */
|
|
|
|
"#93a1a1", /* 10: brgreen */
|
|
|
|
[8] = "#37474f", /* black */
|
|
|
|
"#839496", /* 11: bryellow */
|
|
|
|
[9] = "#e91e63", /* red */
|
|
|
|
"#657b83", /* 12: brblue */
|
|
|
|
[10] = "#8bc34a", /* green */
|
|
|
|
"#6c71c4", /* 13: brmagenta*/
|
|
|
|
[11] = "#e91e63", /* yellow */
|
|
|
|
"#586e75", /* 14: brcyan */
|
|
|
|
[12] = "#03a9f4", /* blue */
|
|
|
|
"#002b36", /* 15: brwhite */
|
|
|
|
[13] = "#e91e63", /* magenta */
|
|
|
|
|
|
|
|
[14] = "#009688", /* cyan */
|
|
|
|
|
|
|
|
[15] = "#263238", /* white */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int defaultfg = 12;
|
|
|
|
unsigned int defaultfg = 15;
|
|
|
|
unsigned int defaultbg = 8;
|
|
|
|
unsigned int defaultbg = 0;
|
|
|
|
static unsigned int defaultcs = 14;
|
|
|
|
static unsigned int defaultcs = 14;
|
|
|
|
static unsigned int defaultrcs = 15;
|
|
|
|
static unsigned int defaultrcs = 15;
|
|
|
|
|
|
|
|
|
|
|
|