commit 38dad6635b84d5e4a990b94743c7bd127b23502e
Author: Shokara <cakedy@disroot.org>
Date: Fri, 8 May 2020 20:36:25 -0400
initial payload
Diffstat:
| A | README.md | | | 73 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | elbaite.Xresources | | | 37 | +++++++++++++++++++++++++++++++++++++ |
| A | elbaite.stColors | | | 44 | ++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 154 insertions(+), 0 deletions(-)
diff --git a/README.md 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
@@ -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
@@ -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;
+