2022-11-08 22:35:28 +03:00
|
|
|
From 66e82b1d4db5c6ad7d62f809c38ff6f27773238a Mon Sep 17 00:00:00 2001
|
2020-07-18 13:54:54 +03:00
|
|
|
From: Shourai <10200748+Shourai@users.noreply.github.com>
|
2022-11-08 22:35:28 +03:00
|
|
|
Date: Tue, 8 Nov 2022 19:45:28 +0100
|
|
|
|
Subject: Apply colorscheme on st version 0.9
|
2020-07-18 13:54:54 +03:00
|
|
|
|
2022-11-08 22:35:28 +03:00
|
|
|
Apply colorscheme on st version 0.9
|
2020-07-18 13:54:54 +03:00
|
|
|
---
|
2022-11-08 22:35:28 +03:00
|
|
|
config.def.h | 57 +++++++++++++++++++++++++---------------------------
|
|
|
|
1 file changed, 27 insertions(+), 30 deletions(-)
|
2020-07-18 13:54:54 +03:00
|
|
|
|
|
|
|
diff --git a/config.def.h b/config.def.h
|
2022-11-08 22:35:28 +03:00
|
|
|
index 2ac0781..21a5b0a 100644
|
2020-07-18 13:54:54 +03:00
|
|
|
--- a/config.def.h
|
|
|
|
+++ b/config.def.h
|
2022-11-08 22:35:28 +03:00
|
|
|
@@ -106,33 +106,30 @@ float alpha = 0.7;
|
2020-07-18 13:54:54 +03:00
|
|
|
|
|
|
|
/* Terminal colors (16 first used in escape sequence) */
|
|
|
|
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",
|
2022-11-08 22:35:28 +03:00
|
|
|
-
|
|
|
|
- [255] = 0,
|
|
|
|
-
|
|
|
|
- /* more colors can be added after 255 to use with DefaultXX */
|
|
|
|
- "#cccccc",
|
|
|
|
- "#555555",
|
|
|
|
- "gray90", /* default foreground colour */
|
|
|
|
- "black", /* default background colour */
|
|
|
|
+
|
2020-07-18 13:54:54 +03:00
|
|
|
+ /* 8 normal colors */
|
2020-12-19 00:55:27 +03:00
|
|
|
+ [0] = "#002b36", /* black */
|
2020-07-18 13:54:54 +03:00
|
|
|
+ [1] = "#dc322f", /* red */
|
|
|
|
+ [2] = "#859900", /* green */
|
|
|
|
+ [3] = "#b58900", /* yellow */
|
|
|
|
+ [4] = "#268bd2", /* blue */
|
2020-12-19 00:55:27 +03:00
|
|
|
+ [5] = "#6c71c4", /* magenta */
|
2020-07-18 13:54:54 +03:00
|
|
|
+ [6] = "#2aa198", /* cyan */
|
2020-12-19 00:55:27 +03:00
|
|
|
+ [7] = "#93a1a1", /* white */
|
2020-07-18 13:54:54 +03:00
|
|
|
+
|
|
|
|
+ /* 8 bright colors */
|
2020-12-19 00:55:27 +03:00
|
|
|
+ [8] = "#657b83", /* black */
|
|
|
|
+ [9] = "#dc322f", /* red */
|
|
|
|
+ [10] = "#859900", /* green */
|
|
|
|
+ [11] = "#b58900", /* yellow */
|
|
|
|
+ [12] = "#268bd2", /* blue */
|
2020-07-18 13:54:54 +03:00
|
|
|
+ [13] = "#6c71c4", /* magenta */
|
2020-12-19 00:55:27 +03:00
|
|
|
+ [14] = "#2aa198", /* cyan */
|
2020-07-18 13:54:54 +03:00
|
|
|
+ [15] = "#fdf6e3", /* white */
|
2022-11-08 22:35:28 +03:00
|
|
|
+
|
|
|
|
+ /* special colors */
|
|
|
|
+ [256] = "#272727", /* background */
|
|
|
|
+ [257] = "#ffffff", /* foreground */
|
|
|
|
};
|
|
|
|
|
2020-07-18 13:54:54 +03:00
|
|
|
|
2022-11-08 22:35:28 +03:00
|
|
|
@@ -140,9 +137,9 @@ static const char *colorname[] = {
|
|
|
|
* Default colors (colorname index)
|
|
|
|
* foreground, background, cursor, reverse cursor
|
|
|
|
*/
|
|
|
|
-unsigned int defaultfg = 258;
|
|
|
|
-unsigned int defaultbg = 259;
|
|
|
|
-unsigned int defaultcs = 256;
|
|
|
|
+unsigned int defaultfg = 257;
|
|
|
|
+unsigned int defaultbg = 256;
|
|
|
|
+unsigned int defaultcs = 257;
|
|
|
|
static unsigned int defaultrcs = 257;
|
2020-07-18 13:54:54 +03:00
|
|
|
|
2022-11-08 22:35:28 +03:00
|
|
|
/*
|
2020-07-18 13:54:54 +03:00
|
|
|
--
|
2022-11-08 22:35:28 +03:00
|
|
|
2.38.1
|
2020-07-18 13:54:54 +03:00
|
|
|
|