Add colors patch for st

This commit is contained in:
cybvik 2022-06-28 07:28:22 +02:00
parent 2d68929fc6
commit d4720dfc12
3 changed files with 77 additions and 0 deletions

View File

@ -42,6 +42,7 @@
- [Alacritty](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#alacritty)
- [Kitty](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#kitty)
- [Konsole](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#konsole)
- [st](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#st)
- [Terminator](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#terminator)
- [Termite](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#termite)
- [Tilix](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#tilix)

View File

@ -22,6 +22,12 @@ Copy konsole/cyberpunk-neon.colorscheme into ~/.local/share/konsole/
`cp -r konsole ~/.local/share`
## st
`cd` into your st source directory and apply patch.
`patch -p1 < ./st-cyberpunk-neon.diff`
## Terminator
Append the contents of terminator/config to ~/.config/terminator/config and change to your linking.

View File

@ -0,0 +1,70 @@
--- a/config.def.h 2022-06-28 06:55:54.245567640 +0200
+++ b/config.def.h 2022-06-28 07:12:48.215526164 +0200
@@ -96,43 +96,42 @@
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
- "black",
- "red3",
- "green3",
- "yellow3",
- "blue2",
- "magenta3",
- "cyan3",
- "gray90",
+ [0] = "#123e7c",
+ [1] = "#ff0000",
+ [2] = "#d300c4",
+ [3] = "#f57800",
+ [4] = "#123e7c",
+ [5] = "#711c91",
+ [6] = "#0abdc6",
+ [7] = "#d7d7d5",
/* 8 bright colors */
- "gray50",
- "red",
- "green",
- "yellow",
- "#5c5cff",
- "magenta",
- "cyan",
- "white",
+ [8] = "#1c61c2",
+ [9] = "#ff0000",
+ [10] = "#d300c4",
+ [11] = "#f57800",
+ [12] = "#00ff00",
+ [13] = "#711c91",
+ [14] = "#0abdc6",
+ [15] = "#d7d7d5",
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
- "gray90", /* default foreground colour */
- "black", /* default background colour */
+ [256] = "#0abdc6", // foreground
+ [257] = "#000b1e", // background
+ [258] = "#ffffff", // cursor
};
/*
* Default colors (colorname index)
- * foreground, background, cursor, reverse cursor
+ * foreground, background, cursor
*/
-unsigned int defaultfg = 258;
-unsigned int defaultbg = 259;
-unsigned int defaultcs = 256;
-static unsigned int defaultrcs = 257;
+unsigned int defaultfg = 256;
+unsigned int defaultbg = 257;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 258;
/*
* Default shape of cursor