summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-06-05 22:41:19 +0000
committerstkhan <personal@slickd.xyz>2021-06-05 22:41:19 +0000
commit8e72264916f5ce023a5d0a56cc4a7a384191b08f (patch)
tree16e485b8fa6778c3070142b0c88560921d9efaa7
parente8b997bf196750fe5ac701c5c9d1ee0336a2a627 (diff)
Added more configuration in theme files
-rw-r--r--st/boxdraw.obin7728 -> 0 bytes
-rw-r--r--st/config.h30
-rw-r--r--st/hb.obin4592 -> 0 bytes
-rwxr-xr-xst/stbin120816 -> 0 bytes
-rw-r--r--st/st.obin79496 -> 0 bytes
-rw-r--r--st/x.obin87784 -> 0 bytes
-rw-r--r--themes/theme.h41
-rw-r--r--themes/themes/blue35
-rw-r--r--themes/themes/default34
-rw-r--r--themes/themes/dracula37
-rw-r--r--themes/themes/green34
-rw-r--r--themes/themes/nord38
-rw-r--r--themes/themes/purple35
-rw-r--r--themes/themes/red34
14 files changed, 290 insertions, 28 deletions
diff --git a/st/boxdraw.o b/st/boxdraw.o
deleted file mode 100644
index 3080fdc..0000000
--- a/st/boxdraw.o
+++ /dev/null
Binary files differ
diff --git a/st/config.h b/st/config.h
index 8d67a8d..0669220 100644
--- a/st/config.h
+++ b/st/config.h
@@ -1,3 +1,5 @@
+#include "../themes/theme.h"
+
/* See LICENSE file for copyright and license details. */
/*
@@ -156,32 +158,8 @@ static unsigned int defaultattr = 11;
* modifier, set to 0 to not use it.
*/
static uint forcemousemod = ShiftMask;
-float alpha = 0.6;
-
-static const char *colorname[] = {
- "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
- "#a80600",
- "#06b500",
- "#d79921",
- "#042e88",
- "#b16286",
- "#689d6a",
- "#a89984",
- "#928374",
- "#fb4934",
- "#55ff4f",
- "#fabd2f",
- "#83a598",
- "#d3869b",
- "#8ec07c",
- "#ebdbb2",
- [255] = 0,
- /* more colors can be added after 255 to use with DefaultXX */
- "#cfcfcf", /* 256 -> cursor */
- "#555555", /* 257 -> rev cursor*/
- "#000000", /* 258 -> bg */
- "#cfcfcf", /* 259 -> fg */
-};
+
+
/*
* Xresources preferences to load at startup
*/
diff --git a/st/hb.o b/st/hb.o
deleted file mode 100644
index 346d766..0000000
--- a/st/hb.o
+++ /dev/null
Binary files differ
diff --git a/st/st b/st/st
deleted file mode 100755
index f5c7ccf..0000000
--- a/st/st
+++ /dev/null
Binary files differ
diff --git a/st/st.o b/st/st.o
deleted file mode 100644
index 095c6ed..0000000
--- a/st/st.o
+++ /dev/null
Binary files differ
diff --git a/st/x.o b/st/x.o
deleted file mode 100644
index c6348a1..0000000
--- a/st/x.o
+++ /dev/null
Binary files differ
diff --git a/themes/theme.h b/themes/theme.h
index dfca57e..f7353de 100644
--- a/themes/theme.h
+++ b/themes/theme.h
@@ -6,11 +6,48 @@
/* primary color */
-static const char col_cyan[] = "#0a0063";
+static const char col_cyan[] = "#6272a4";
/* secondary colors */
-static const char col_gray1[] = "#222222";
+static const char col_gray1[] = "#282a36";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.9;
+
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "#000000",
+ "#ff5555",
+ "#50fa7b",
+ "#f1fa8c",
+ "#bd93f9",
+ "#ff79c6",
+ "#8be9fd",
+ "#bfbfbf",
+
+ /* 8 bright colors */
+ "#4d4d4d",
+ "#ff6e67",
+ "#5af78e",
+ "#f4f99d",
+ "#caa9fa",
+ "#ff92d0",
+ "#9aedfe",
+ "#e6e6e6",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#282a36", /* 258 -> bg */
+ "#f8f8f2", /* 259 -> fg */
+};
+
+
diff --git a/themes/themes/blue b/themes/themes/blue
index dfca57e..648208b 100644
--- a/themes/themes/blue
+++ b/themes/themes/blue
@@ -14,3 +14,38 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.6;
+
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "black",
+ "red3",
+ "green3",
+ "yellow3",
+ "blue2",
+ "magenta3",
+ "cyan3",
+ "gray90",
+
+ /* 8 bright colors */
+ "gray50",
+ "red",
+ "green",
+ "yellow",
+ "#5c5cff",
+ "magenta",
+ "cyan",
+ "white",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#000000", /* 258 -> bg */
+ "#cfcfcf", /* 259 -> fg */
+};
diff --git a/themes/themes/default b/themes/themes/default
index 641ce27..b81f7bd 100644
--- a/themes/themes/default
+++ b/themes/themes/default
@@ -14,3 +14,37 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#005577";
+
+/* st config */
+
+float alpha = 0.6;
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "black",
+ "red3",
+ "green3",
+ "yellow3",
+ "blue2",
+ "magenta3",
+ "cyan3",
+ "gray90",
+
+ /* 8 bright colors */
+ "gray50",
+ "red",
+ "green",
+ "yellow",
+ "#5c5cff",
+ "magenta",
+ "cyan",
+ "white",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#000000", /* 258 -> bg */
+ "#cfcfcf", /* 259 -> fg */
+};
diff --git a/themes/themes/dracula b/themes/themes/dracula
index f4ad3e3..f7353de 100644
--- a/themes/themes/dracula
+++ b/themes/themes/dracula
@@ -14,3 +14,40 @@ static const char col_gray1[] = "#282a36";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.9;
+
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "#000000",
+ "#ff5555",
+ "#50fa7b",
+ "#f1fa8c",
+ "#bd93f9",
+ "#ff79c6",
+ "#8be9fd",
+ "#bfbfbf",
+
+ /* 8 bright colors */
+ "#4d4d4d",
+ "#ff6e67",
+ "#5af78e",
+ "#f4f99d",
+ "#caa9fa",
+ "#ff92d0",
+ "#9aedfe",
+ "#e6e6e6",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#282a36", /* 258 -> bg */
+ "#f8f8f2", /* 259 -> fg */
+};
+
+
diff --git a/themes/themes/green b/themes/themes/green
index b2df992..1c182f6 100644
--- a/themes/themes/green
+++ b/themes/themes/green
@@ -14,3 +14,37 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.6;
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "black",
+ "red3",
+ "green3",
+ "yellow3",
+ "blue2",
+ "magenta3",
+ "cyan3",
+ "gray90",
+
+ /* 8 bright colors */
+ "gray50",
+ "red",
+ "green",
+ "yellow",
+ "#5c5cff",
+ "magenta",
+ "cyan",
+ "white",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#000000", /* 258 -> bg */
+ "#cfcfcf", /* 259 -> fg */
+};
diff --git a/themes/themes/nord b/themes/themes/nord
index ae77542..25fb5b0 100644
--- a/themes/themes/nord
+++ b/themes/themes/nord
@@ -14,3 +14,41 @@ static const char col_gray1[] = "#2e3440";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.9;
+
+static const char *colorname[] = {
+
+ /* 8 normal colors */
+
+ "#3b4252", /* black */
+ "#bf616a", /* red */
+ "#a3be8c", /* green */
+ "#ebcb8b", /* yellow */
+ "#81a1c1", /* blue */
+ "#b48ead", /* magenta */
+ "#88c0d0", /* cyan */
+ "#e5e9f0", /* white */
+
+ /* 8 bright colors */
+
+ "#4c566a", /* black */
+ "#bf616a", /* red */
+ "#a3be8c", /* green */
+ "#ebcb8b", /* yellow */
+ "#81a1c1", /* blue */
+ "#b48ead", /* magenta */
+ "#8fbcbb", /* cyan */
+ "#eceff4", /* white */
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+
+ "#cccccc",
+ "#555555",
+ "#2e3440", /* background */
+ "#d8dee9", /* foreground */
+ };
diff --git a/themes/themes/purple b/themes/themes/purple
index 162087c..c2e1c75 100644
--- a/themes/themes/purple
+++ b/themes/themes/purple
@@ -14,3 +14,38 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+
+/* st config */
+
+float alpha = 0.6;
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "black",
+ "red3",
+ "green3",
+ "yellow3",
+ "blue2",
+ "magenta3",
+ "cyan3",
+ "gray90",
+
+ /* 8 bright colors */
+ "gray50",
+ "red",
+ "green",
+ "yellow",
+ "#5c5cff",
+ "magenta",
+ "cyan",
+ "white",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#000000", /* 258 -> bg */
+ "#cfcfcf", /* 259 -> fg */
+};
diff --git a/themes/themes/red b/themes/themes/red
index 6a861e5..e46a25c 100644
--- a/themes/themes/red
+++ b/themes/themes/red
@@ -14,3 +14,37 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
+
+/* st config */
+
+float alpha = 0.6;
+
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "black",
+ "red3",
+ "green3",
+ "yellow3",
+ "blue2",
+ "magenta3",
+ "cyan3",
+ "gray90",
+
+ /* 8 bright colors */
+ "gray50",
+ "red",
+ "green",
+ "yellow",
+ "#5c5cff",
+ "magenta",
+ "cyan",
+ "white",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#cccccc",
+ "#555555",
+ "#000000", /* 258 -> bg */
+ "#cfcfcf", /* 259 -> fg */
+};