~petersanchez/st

a3cc21449ec34628ff3983ce24b1cd2d30014e71 — Peter Sanchez 1 year, 11 months ago 2edb496
Config updates
2 files changed, 23 insertions(+), 25 deletions(-)

M config.def.h
M config.h
M config.def.h => config.def.h +0 -1
@@ 123,7 123,6 @@ static const char *colorname[] = {
	/* more colors can be added after 255 to use with DefaultXX */
	"#cccccc",
	"#555555",
	"gray90", /* default foreground colour */
	"black", /* default background colour */
};


M config.h => config.h +23 -24
@@ 100,32 100,31 @@ float alpha = 0.8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
	/* 8 normal colors */
	"#073642",  /*  0: black    */
	"#dc322f",  /*  1: red      */
	"#859900",  /*  2: green    */
	"#b58900",  /*  3: yellow   */
        "#268bd2",  /*  4: blue     */
	"#d33682",  /*  5: magenta  */
        "#2aa198",  /*  6: cyan     */
	"#eee8d5",  /*  7: (grey) white    */
	"black",
	"red3",
	"green3",
	"yellow3",
	"blue2",
	"magenta3",
	"cyan3",
	"gray90",

	/* 8 bright colors */
	"#002b36",  /*  8: brblack  */
        "#cb4b16",  /*  9: brred    */
	"#586e75",  /* 10: brgreen  */
        "#657b83",  /* 11: bryellow */
	"#839496",  /* 12: brblue   */
        "#6c71c4",  /* 13: brmagenta*/
        "#93a1a1",  /* 14: brcyan   */
        "#fdf6e3",  /* 15: brwhite  */
	"gray50",
	"red",
	"green",
	"yellow",
	"#5c5cff",
	"magenta",
	"cyan",
	"white",

	[255] = 0,

	/* more colors can be added after 255 to use with DefaultXX */
	"black",
	"#00cc00", /* 257 -> fg */
        "magenta",  /* 258 -> cursor */
        "#ebdbb2", /* 259 -> fg */
	"#cccccc",
	"#555555",
	"black", /* default background colour */
};




@@ 133,10 132,10 @@ static const char *colorname[] = {
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 15;
unsigned int defaultbg = 256;
unsigned int defaultcs = 15;
static unsigned int defaultrcs = 15;
unsigned int defaultfg = 7;
unsigned int defaultbg = 258;
unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;

/*
 * Default shape of cursor