|
@ -97,57 +97,61 @@ unsigned int tabspaces = 8; |
|
|
static const char *colorname[] = { |
|
|
static const char *colorname[] = { |
|
|
|
|
|
|
|
|
/* 8 normal colors */ |
|
|
/* 8 normal colors */ |
|
|
// [0] = "#171717", /* black */ |
|
|
|
|
|
// [1] = "#d81765", /* red */ |
|
|
|
|
|
// [2] = "#97d01a", /* green */ |
|
|
|
|
|
// [3] = "#ffa800", /* yellow */ |
|
|
|
|
|
// [4] = "#16b1fb", /* blue */ |
|
|
|
|
|
// [5] = "#ff2491", /* magenta */ |
|
|
|
|
|
// [6] = "#0fdcb6", /* cyan */ |
|
|
|
|
|
// [7] = "#ebebeb", /* white */ |
|
|
|
|
|
|
|
|
|
|
|
// /* 8 bright colors */ |
|
|
|
|
|
// [8] = "#38252c", /* black */ |
|
|
|
|
|
// [9] = "#ff0000", /* red */ |
|
|
|
|
|
// [10] = "#76b639", /* green */ |
|
|
|
|
|
// [11] = "#e1a126", /* yellow */ |
|
|
|
|
|
// [12] = "#289cd5", /* blue */ |
|
|
|
|
|
// [13] = "#ff2491", /* magenta */ |
|
|
|
|
|
// [14] = "#0a9b81", /* cyan */ |
|
|
|
|
|
// [15] = "#f8f8f8", /* white */ |
|
|
|
|
|
|
|
|
|
|
|
/* 8 normal colors */ |
|
|
|
|
|
[0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ |
|
|
|
|
|
[1] = "#cc241d", /* red */ |
|
|
|
|
|
[2] = "#98971a", /* green */ |
|
|
|
|
|
[3] = "#d79921", /* yellow */ |
|
|
|
|
|
[4] = "#458588", /* blue */ |
|
|
|
|
|
[5] = "#b16286", /* magenta */ |
|
|
|
|
|
[6] = "#689d6a", /* cyan */ |
|
|
|
|
|
[7] = "#a89984", /* white */ |
|
|
|
|
|
|
|
|
|
|
|
/* 8 bright colors */ |
|
|
|
|
|
[8] = "#928374", /* black */ |
|
|
|
|
|
[9] = "#fb4934", /* red */ |
|
|
|
|
|
[10] = "#b8bb26", /* green */ |
|
|
|
|
|
[11] = "#fabd2f", /* yellow */ |
|
|
|
|
|
[12] = "#83a598", /* blue */ |
|
|
|
|
|
[13] = "#d3869b", /* magenta */ |
|
|
|
|
|
[14] = "#8ec07c", /* cyan */ |
|
|
|
|
|
[15] = "#ebdbb2", /* white */ |
|
|
|
|
|
|
|
|
|
|
|
/* special colors */ |
|
|
|
|
|
[256] = "#171717", /* background */ |
|
|
|
|
|
[257] = "#f8f8f8", /* foreground */ |
|
|
|
|
|
|
|
|
// [0] = "#171717", /* black */ |
|
|
|
|
|
// [1] = "#d81765", /* red */ |
|
|
|
|
|
// [2] = "#97d01a", /* green */ |
|
|
|
|
|
// [3] = "#ffa800", /* yellow */ |
|
|
|
|
|
// [4] = "#16b1fb", /* blue */ |
|
|
|
|
|
// [5] = "#ff2491", /* magenta */ |
|
|
|
|
|
// [6] = "#0fdcb6", /* cyan */ |
|
|
|
|
|
// [7] = "#ebebeb", /* white */ |
|
|
|
|
|
// |
|
|
|
|
|
// /* 8 bright colors */ |
|
|
|
|
|
// [8] = "#38252c", /* black */ |
|
|
|
|
|
// [9] = "#ff0000", /* red */ |
|
|
|
|
|
// [10] = "#76b639", /* green */ |
|
|
|
|
|
// [11] = "#e1a126", /* yellow */ |
|
|
|
|
|
// [12] = "#289cd5", /* blue */ |
|
|
|
|
|
// [13] = "#ff2491", /* magenta */ |
|
|
|
|
|
// [14] = "#0a9b81", /* cyan */ |
|
|
|
|
|
// [15] = "#f8f8f8", /* white */ |
|
|
|
|
|
// |
|
|
|
|
|
// /* special colors */ |
|
|
|
|
|
// [256] = "#171717", /* background */ |
|
|
|
|
|
// [257] = "#f8f8f8", /* foreground */ |
|
|
|
|
|
|
|
|
|
|
|
[0] = "#323437", |
|
|
|
|
|
[1] = "#ff5454", |
|
|
|
|
|
[2] = "#8cc85f", |
|
|
|
|
|
[3] = "#e3c78a", |
|
|
|
|
|
[4] = "#80a0ff", |
|
|
|
|
|
[5] = "#d183e8", |
|
|
|
|
|
[6] = "#79dac8", |
|
|
|
|
|
[7] = "#a1aab8", |
|
|
|
|
|
|
|
|
|
|
|
[8] = "#7c8f8f", |
|
|
|
|
|
[9] = "#ff5189", |
|
|
|
|
|
[10] = "#36c692", |
|
|
|
|
|
[11] = "#bfbf97", |
|
|
|
|
|
[12] = "#74b2ff", |
|
|
|
|
|
[13] = "#ae81ff", |
|
|
|
|
|
[14] = "#85dc85", |
|
|
|
|
|
[15] = "#e2637f", |
|
|
|
|
|
|
|
|
|
|
|
[255] = 0, |
|
|
|
|
|
[256] = "#95969C", |
|
|
|
|
|
[257] = "#f8f8f2", |
|
|
|
|
|
[258] = "#080808", |
|
|
|
|
|
[259]= "#eeeeee", |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Default colors (colorname index) |
|
|
* Default colors (colorname index) |
|
|
* foreground, background, cursor |
|
|
* foreground, background, cursor |
|
|
*/ |
|
|
*/ |
|
|
unsigned int defaultfg = 15; |
|
|
|
|
|
unsigned int defaultbg = 0; |
|
|
|
|
|
static unsigned int defaultcs = 15; |
|
|
|
|
|
|
|
|
unsigned int defaultfg = 259; |
|
|
|
|
|
unsigned int defaultbg = 258; |
|
|
|
|
|
static unsigned int defaultcs = 256; |
|
|
static unsigned int defaultrcs = 257; |
|
|
static unsigned int defaultrcs = 257; |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|