From 041c6fe6cfaa2ddb0a43d22151a814c9c47caf86 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 1 Jun 2019 18:50:29 +0100 Subject: [PATCH] update --- hacked/st.txt | 45 +++++++++++++++++++++++++++++++++++++ hacked/white-st.txt | 43 +++++++++++++++++++++++++++++++++++ hacked/white-xresources.txt | 36 +++++++++++++++++++++++++++++ hacked/xresources.txt | 36 +++++++++++++++++++++++++++++ neon2049/simple-terminal | 8 ++++--- neon2049/xresources | 12 +++++----- 6 files changed, 171 insertions(+), 9 deletions(-) create mode 100755 hacked/st.txt create mode 100755 hacked/white-st.txt create mode 100755 hacked/white-xresources.txt create mode 100755 hacked/xresources.txt diff --git a/hacked/st.txt b/hacked/st.txt new file mode 100755 index 0000000..6d6de91 --- /dev/null +++ b/hacked/st.txt @@ -0,0 +1,45 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#282a2e", /* black */ + [1] = "#9c001f", /* red */ + [2] = "#009a1f", /* green */ + [3] = "#a48300", /* yellow */ + [4] = "#008b54", /* blue */ + [5] = "#8b5b00", /* magenta */ + [6] = "#006f5c", /* cyan */ + [7] = "#70a281", /* white */ + + /* 8 bright colors */ + [8] = "#373b41", /* black */ + [9] = "#ff0033", /* red */ + [10] = "#00ff33", /* green */ + [11] = "#ebbb00", /* yellow */ + [12] = "#00f896", /* blue */ + [13] = "#e99900", /* magenta */ + [14] = "#00d7b2", /* cyan */ + [15] = "#b1ffcb", /* white */ + + [255] = 0, + + /* special colors */ + [256] = "#1d1f21", /* background */ + [257] = "#00ca28", /* foreground */ +}; + +/* + * Default colors (colorname index) + * foreground, background, cursor + */ +static unsigned int defaultfg = 257; +static unsigned int defaultbg = 256; +static 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; diff --git a/hacked/white-st.txt b/hacked/white-st.txt new file mode 100755 index 0000000..dd5e439 --- /dev/null +++ b/hacked/white-st.txt @@ -0,0 +1,43 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#282a2e", /* black */ + [1] = "#9c001f", /* red */ + [2] = "#009a1f", /* green */ + [3] = "#a48300", /* yellow */ + [4] = "#008b54", /* blue */ + [5] = "#8b5b00", /* magenta */ + [6] = "#006f5c", /* cyan */ + [7] = "#70a281", /* white */ + + /* 8 bright colors */ + [8] = "#373b41", /* black */ + [9] = "#ff0033", /* red */ + [10] = "#00ff33", /* green */ + [11] = "#ebbb00", /* yellow */ + [12] = "#00f896", /* blue */ + [13] = "#e99900", /* magenta */ + [14] = "#00d7b2", /* cyan */ + [15] = "#b1ffcb", /* white */ + + /* special colors */ + [256] = "#1d1f21", /* background */ + [257] = "#00ca28", /* foreground */ +}; + +/* + * Default colors (colorname index) + * foreground, background, cursor + */ +static unsigned int defaultfg = 257; +static unsigned int defaultbg = 256; +static 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; diff --git a/hacked/white-xresources.txt b/hacked/white-xresources.txt new file mode 100755 index 0000000..051c52a --- /dev/null +++ b/hacked/white-xresources.txt @@ -0,0 +1,36 @@ +! special +*.foreground: #00ca28 +*.background: #1d1f21 +*.cursorColor: #00ca28 + +! black +*.color0: #282a2e +*.color8: #373b41 + +! red +*.color1: #9c001f +*.color9: #ff0033 + +! green +*.color2: #009a1f +*.color10: #00ff33 + +! yellow +*.color3: #a48300 +*.color11: #ebbb00 + +! blue +*.color4: #008b54 +*.color12: #00f896 + +! magenta +*.color5: #8b5b00 +*.color13: #e99900 + +! cyan +*.color6: #006f5c +*.color14: #00d7b2 + +! white +*.color7: #707880 +*.color15: #d2d5d3 diff --git a/hacked/xresources.txt b/hacked/xresources.txt new file mode 100755 index 0000000..23f5276 --- /dev/null +++ b/hacked/xresources.txt @@ -0,0 +1,36 @@ +! special +*.foreground: #00ca28 +*.background: #1d1f21 +*.cursorColor: #00ca28 + +! black +*.color0: #282a2e +*.color8: #373b41 + +! red +*.color1: #9c001f +*.color9: #ff0033 + +! green +*.color2: #009a1f +*.color10: #00ff33 + +! yellow +*.color3: #a48300 +*.color11: #ebbb00 + +! blue +*.color4: #008b54 +*.color12: #00f896 + +! magenta +*.color5: #8b5b00 +*.color13: #e99900 + +! cyan +*.color6: #006f5c +*.color14: #00d7b2 + +! white +*.color7: #70a281 +*.color15: #b1ffcb diff --git a/neon2049/simple-terminal b/neon2049/simple-terminal index eb4cbbb..58cc962 100755 --- a/neon2049/simple-terminal +++ b/neon2049/simple-terminal @@ -21,14 +21,16 @@ static const char *colorname[] = { [14] = "#489fd7", /* cyan */ [15] = "#d3ccea", /* white */ + [255] = 0, + /* special colors */ - [256] = "#000000", /* background */ - [257] = "#797979", /* foreground */ + [256] = "#c27dd9", /* foreground */ + [257] = "#111012", /* background */ }; /* * Default colors (colorname index) - * foreground, background, cursor + * foreground, background, cursor, */ static unsigned int defaultfg = 257; static unsigned int defaultbg = 256; diff --git a/neon2049/xresources b/neon2049/xresources index 4bbbc8f..2674ff6 100755 --- a/neon2049/xresources +++ b/neon2049/xresources @@ -1,7 +1,7 @@ ! special -*.foreground: #797979 -*.background: #000000 -*.cursorColor: #797979 +*.foreground: #C27DD9 +*.background: #111012 +*.cursorColor: #3fd76f ! black *.color0: #15041a @@ -16,8 +16,8 @@ *.color10: #3fd76f ! yellow -*.color3: #33886a -*.color11: #4cc79c +*.color3: #bec6a8 +*.color11: #edffbd ! blue *.color4: #583db4 @@ -33,4 +33,4 @@ ! white *.color7: #a4a1ad -*.color15: #d3ccea +*.color15: #e7e0ff