From 38dad6635b84d5e4a990b94743c7bd127b23502e Mon Sep 17 00:00:00 2001 From: Shokara Date: Fri, 8 May 2020 20:36:25 -0400 Subject: initial payload --- README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ elbaite.Xresources | 37 +++++++++++++++++++++++++++ elbaite.stColors | 44 ++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 README.md create mode 100644 elbaite.Xresources create mode 100644 elbaite.stColors diff --git a/README.md b/README.md new file mode 100644 index 0000000..f5c6481 --- /dev/null +++ b/README.md @@ -0,0 +1,73 @@ +# Elbaite +My custom colorscheme + +Xresources: +``` +! special +*.foreground: #bfbbb6 +*.background: #181411 +*.cursorColor: #bfbbb6 + +! black +*.color0: #181411 +*.color8: #2b2722 + +! red +*.color1: #a63221 +*.color9: #a63221 + +! green +*.color2: #768948 +*.color10: #768948 + +! yellow +*.color3: #d6a22e +*.color11: #d6a22e + +! blue +*.color4: #33658a +*.color12: #33658a + +! magenta +*.color5: #585481 +*.color13: #7473a3 + +! cyan +*.color6: #599a82 +*.color14: #599a82 + +! white +*.color7: #9a9a9a +*.color15: #bfbbb6 +``` + +Simple/Suckless Terminal: +```c +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#181411", /* black */ + [1] = "#a63221", /* red */ + [2] = "#768948", /* green */ + [3] = "#d6a22e", /* yellow */ + [4] = "#33658a", /* blue */ + [5] = "#585481", /* magenta */ + [6] = "#599a82", /* cyan */ + [7] = "#9a9a9a", /* white */ + + /* 8 bright colors */ + [8] = "#2b2722", /* black */ + [9] = "#a63221", /* red */ + [10] = "#768948", /* green */ + [11] = "#d6a22e", /* yellow */ + [12] = "#33658a", /* blue */ + [13] = "#7473a3", /* magenta */ + [14] = "#599a82", /* cyan */ + [15] = "#bfbbb6", /* white */ + + /* special colors */ + [256] = "#181411", /* background */ + [257] = "#bfbbb6", /* foreground */ +}; +``` diff --git a/elbaite.Xresources b/elbaite.Xresources new file mode 100644 index 0000000..6d52c4c --- /dev/null +++ b/elbaite.Xresources @@ -0,0 +1,37 @@ +! special +*.foreground: #bfbbb6 +*.background: #181411 +*.cursorColor: #bfbbb6 + +! black +*.color0: #181411 +*.color8: #2b2722 + +! red +*.color1: #a63221 +*.color9: #a63221 + +! green +*.color2: #768948 +*.color10: #768948 + +! yellow +*.color3: #d6a22e +*.color11: #d6a22e + +! blue +*.color4: #33658a +*.color12: #33658a + +! magenta +*.color5: #585481 +*.color13: #7473a3 + +! cyan +*.color6: #599a82 +*.color14: #599a82 + +! white +*.color7: #9a9a9a +*.color15: #bfbbb6 + diff --git a/elbaite.stColors b/elbaite.stColors new file mode 100644 index 0000000..92f9b3d --- /dev/null +++ b/elbaite.stColors @@ -0,0 +1,44 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#181411", /* black */ + [1] = "#a63221", /* red */ + [2] = "#768948", /* green */ + [3] = "#d6a22e", /* yellow */ + [4] = "#33658a", /* blue */ + [5] = "#585481", /* magenta */ + [6] = "#599a82", /* cyan */ + [7] = "#9a9a9a", /* white */ + + /* 8 bright colors */ + [8] = "#2b2722", /* black */ + [9] = "#a63221", /* red */ + [10] = "#768948", /* green */ + [11] = "#d6a22e", /* yellow */ + [12] = "#33658a", /* blue */ + [13] = "#7473a3", /* magenta */ + [14] = "#599a82", /* cyan */ + [15] = "#bfbbb6", /* white */ + + /* special colors */ + [256] = "#181411", /* background */ + [257] = "#bfbbb6", /* 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; + -- cgit v1.2.3