aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-12-27 08:04:29 +1100
committerDylan Araps <[email protected]>2017-12-27 08:04:29 +1100
commit9ac1e965b2e01261d5bb39d77386f436025c0828 (patch)
treeb2ff45d22546c966da73f0b9c809659e3cb87e0c
parentMerge pull request #142 from dylanaraps/user_temp (diff)
downloadpywal-9ac1e965b2e01261d5bb39d77386f436025c0828.tar.xz
pywal-9ac1e965b2e01261d5bb39d77386f436025c0828.zip
template: Added st template
-rw-r--r--pywal/templates/colors-st.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/pywal/templates/colors-st.h b/pywal/templates/colors-st.h
new file mode 100644
index 0000000..65ad6f0
--- /dev/null
+++ b/pywal/templates/colors-st.h
@@ -0,0 +1,33 @@
+const char *colorname[] = {{
+
+ /* 8 normal colors */
+ [0] = "{color0}", /* black */
+ [1] = "{color1}", /* red */
+ [2] = "{color2}", /* green */
+ [3] = "{color3}", /* yellow */
+ [4] = "{color4}", /* blue */
+ [5] = "{color5}", /* magenta */
+ [6] = "{color6}", /* cyan */
+ [7] = "{color7}", /* white */
+
+ /* 8 bright colors */
+ [8] = "{color8}", /* black */
+ [9] = "{color9}", /* red */
+ [10] = "{color10}", /* green */
+ [11] = "{color11}", /* yellow */
+ [12] = "{color12}", /* blue */
+ [13] = "{color13}", /* magenta */
+ [14] = "{color14}", /* cyan */
+ [15] = "{color15}", /* white */
+
+ /* special colors */
+ [256] = "{background}", /* background */
+ [257] = "{foreground}", /* foreground */
+ [258] = "{cursor}", /* cursor */
+}};
+
+/* Default colors (colorname index)
+ * foreground, background, cursor */
+ unsigned int defaultbg = 256;
+ unsigned int defaultfg = 257;
+ unsigned int defaultcs = 258;