From 8bed5d2113b2d28b75f9c4f8033d7ac59a0686af Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Mon, 7 Jan 2019 13:38:02 -0500 Subject: updated to dotfiles/config.def.h --- config.def.h | 63 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/config.def.h b/config.def.h index 319e8e3..d1d788c 100644 --- a/config.def.h +++ b/config.def.h @@ -93,45 +93,56 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; +/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { - /* 8 normal colors */ - "black", - "red3", - "green3", - "yellow3", - "blue2", - "magenta3", - "cyan3", - "gray90", - - /* 8 bright colors */ - "gray50", - "red", - "green", - "yellow", - "#5c5cff", - "magenta", - "cyan", - "white", - - [255] = 0, + + /* 8 normal colors */ + [0] = "#343434", /* black */ + [1] = "#e93d3d", /* red */ + [2] = "#67ff79", /* green */ + [3] = "#f1f156", /* yellow */ + [4] = "#81b7ff", /* blue */ + [5] = "#cd78f4", /* magenta */ + [6] = "#23ed9b", /* cyan */ + [7] = "#ababab", /* white */ + + /* 8 bright colors */ + [8] = "#343434", /* black */ + [9] = "#e93d3d", /* red */ + [10] = "#67ff79", /* green */ + [11] = "#f1f156", /* yellow */ + [12] = "#81b7ff", /* blue */ + [13] = "#cd78f4", /* magenta */ + [14] = "#23ed9b", /* cyan */ + [15] = "#f9f9f9", /* white */ /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", "#555555", "gray90", /* default foreground colour */ "black", /* default background colour */ + /* special colors */ + [256] = "#060606", /* background */ + [257] = "#f9f9f9", /* foreground */ }; - /* * Default colors (colorname index) - * foreground, background, cursor, reverse cursor + * foreground, background, cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; -unsigned int defaultcs = 256; +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; +unsigned int defaultcs = 257; + +/* + * Colors used, when the specific fg == defaultfg. So in reverse mode this + * will reverse too. Another logic would only make the simple feature too + * complex. + */ +static unsigned int defaultitalic = 7; +static unsigned int defaultunderline = 7; + static unsigned int defaultrcs = 257; /* -- cgit v1.2.3-54-g00ecf