commit 49292d8941edd5709bbe65a0c23000b5a6f48473
parent d62d8f3f113b8a812fd08141741c8241295b97fc
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Mon, 5 Aug 2024 14:53:14 -0400
added my themes.
Diffstat:
M | config.def.h | | | 59 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 59 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -9,6 +9,14 @@ static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
static int borderpx = 2;
/*
+ * available themes
+ * THEME_DEFAULT
+ * THEME_SOLARIZED
+ * THEME_GRUBER
+ */
+#define THEME_DEFAULT
+
+/*
* What program is execed by st depends of these precedence rules:
* 1: program passed with -e
* 2: scroll and/or utmp
@@ -107,6 +115,7 @@ unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
+#if defined(THEME_DEFAULT)
/* 8 normal colors */
"black",
"red3",
@@ -134,6 +143,56 @@ static const char *colorname[] = {
"#555555",
"gray90", /* default foreground colour */
"black", /* default background colour */
+#elif defined(THEME_SOLARIZED)
+ /* solarized dark */
+ "#073642", /* 0: black */
+ "#dc322f", /* 1: red */
+ "#859900", /* 2: green */
+ "#b58900", /* 3: yellow */
+ "#268bd2", /* 4: blue */
+ "#d33682", /* 5: magenta */
+ "#2aa198", /* 6: cyan */
+ "#eee8d5", /* 7: white */
+
+ "#002b36", /* 8: brblack */
+ "#cb4b16", /* 9: brred */
+ "#586e75", /* 10: brgreen */
+ "#657b83", /* 11: bryellow */
+ "#839496", /* 12: brblue */
+ "#6c71c4", /* 13: brmagenta*/
+ "#93a1a1", /* 14: brcyan */
+ "#fdf6e3", /* 15: brwhite */
+
+ [255] = 0,
+
+ [256] = "#93a1a1",
+ [257] = "#fdf6e3",
+ [258] = "#839496",
+ [259] = "#002b36",
+#elif defined(THEME_GRUBER)
+ "#2E3436",
+ "#a40000",
+ "#4E9A06",
+ "#C4A000",
+ "#3465A4",
+ "#75507B",
+ "#417F9A",
+ "#babdb9",
+ "#555753",
+ "#EF2929",
+ "#8AE234",
+ "#FCE94F",
+ "#729FCF",
+ "#AD7FA8",
+ "#fcaf3e",
+ "#EEEEEC",
+
+ [255] = 0,
+ "#93a1a1",
+ "#fdf6e3",
+ "#e4e4e4",
+ "#181818",
+#endif
};