From 8aab6a0cb0e9565ea8feb8f8fda2fd4481ffb4f1 Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 29 May 2019 15:34:04 +0100 Subject: [PATCH] initial commit --- basic.Xresources | 37 ++++++++++++++++++++++++++++++++++ neon2049/simple-terminal | 43 ++++++++++++++++++++++++++++++++++++++++ neon2049/xresources | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 basic.Xresources create mode 100755 neon2049/simple-terminal create mode 100755 neon2049/xresources diff --git a/basic.Xresources b/basic.Xresources new file mode 100644 index 0000000..181d3c0 --- /dev/null +++ b/basic.Xresources @@ -0,0 +1,37 @@ +! special +*.foreground: #c5c8c6 +*.background: #1d1f21 +*.cursorColor: #c5c8c6 + +! black +*.color0: #282a2e +*.color8: #373b41 + +! red +*.color1: #a54242 +*.color9: #cc6666 + +! green +*.color2: #8c9440 +*.color10: #b5bd68 + +! yellow +*.color3: #de935f +*.color11: #f0c674 + +! blue +*.color4: #5f819d +*.color12: #81a2be + +! magenta +*.color5: #85678f +*.color13: #b294bb + +! cyan +*.color6: #5e8d87 +*.color14: #8abeb7 + +! white +*.color7: #707880 +*.color15: #c5c8c6 + diff --git a/neon2049/simple-terminal b/neon2049/simple-terminal new file mode 100755 index 0000000..eb4cbbb --- /dev/null +++ b/neon2049/simple-terminal @@ -0,0 +1,43 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#15041a", /* black */ + [1] = "#9c1961", /* red */ + [2] = "#29944b", /* green */ + [3] = "#33886a", /* yellow */ + [4] = "#583db4", /* blue */ + [5] = "#b01184", /* magenta */ + [6] = "#3971a8", /* cyan */ + [7] = "#a4a1ad", /* white */ + + /* 8 bright colors */ + [8] = "#40092b", /* black */ + [9] = "#e24d85", /* red */ + [10] = "#3fd76f", /* green */ + [11] = "#4cc79c", /* yellow */ + [12] = "#534de2", /* blue */ + [13] = "#e24db9", /* magenta */ + [14] = "#489fd7", /* cyan */ + [15] = "#d3ccea", /* white */ + + /* special colors */ + [256] = "#000000", /* background */ + [257] = "#797979", /* 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/neon2049/xresources b/neon2049/xresources new file mode 100755 index 0000000..4bbbc8f --- /dev/null +++ b/neon2049/xresources @@ -0,0 +1,36 @@ +! special +*.foreground: #797979 +*.background: #000000 +*.cursorColor: #797979 + +! black +*.color0: #15041a +*.color8: #40092b + +! red +*.color1: #9c1961 +*.color9: #e24d85 + +! green +*.color2: #29944b +*.color10: #3fd76f + +! yellow +*.color3: #33886a +*.color11: #4cc79c + +! blue +*.color4: #583db4 +*.color12: #534de2 + +! magenta +*.color5: #b01184 +*.color13: #e24db9 + +! cyan +*.color6: #3971a8 +*.color14: #489fd7 + +! white +*.color7: #a4a1ad +*.color15: #d3ccea