commit 47efe17ba44ce4c5cd0b886e48089c5714be2e7c
Author: Mauro Locatelli <3275600+crivotz_AT_users.noreply.github.com>
Date: Tue Mar 30 17:42:46 2021 +0200
Add new st theme gruvbox-material
diff --git a/st.suckless.org/patches/gruvbox-material/index.md b/st.suckless.org/patches/gruvbox-material/index.md
new file mode 100644
index 00000000..2f88028d
--- /dev/null
+++ b/st.suckless.org/patches/gruvbox-material/index.md
_AT_@ -0,0 +1,19 @@
+gruvbox
+=========
+
+Description
+-----------
+[gruvbox-material](
https://github.com/sainnhe/gruvbox-material) Gruvbox Material is a modified version of [Gruvbox](
https://github.com/morhetz/gruvbox), the contrast is adjusted to be softer in order to protect developers' eyes.
+
+Notes
+-----
+Once applied, only the terminal colors are changed. You can find a
+vim colorscheme [here](
https://github.com/sainnhe/gruvbox-material).
+
+Download
+--------
+* [st-gruvbox-material-0.8.2.diff](st-gruvbox-material-0.8.2.diff)
+
+Authors
+-------
+* Mauro Locatelli (Waifod) - <mauro_AT_locatelli.dev>
diff --git a/st.suckless.org/patches/gruvbox-material/st-gruvbox-material-0.8.2.diff b/st.suckless.org/patches/gruvbox-material/st-gruvbox-material-0.8.2.diff
new file mode 100644
index 00000000..9d962ba8
--- /dev/null
+++ b/st.suckless.org/patches/gruvbox-material/st-gruvbox-material-0.8.2.diff
_AT_@ -0,0 +1,70 @@
+diff --git a/config.def.h b/config.def.h
+index 877afab..6a1699f 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -84,41 +84,35 @@ static unsigned int tabspaces = 8;
+
+ /* 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",
+-
+- [255] = 0,
+-
+- /* more colors can be added after 255 to use with DefaultXX */
+- "#cccccc",
+- "#555555",
+-};
+
++ /* 8 normal colors */
++ [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
++ [1] = "#ea6962", /* red */
++ [2] = "#a9b665", /* green */
++ [3] = "#d8a657", /* yellow */
++ [4] = "#7daea3", /* blue */
++ [5] = "#d3869b", /* magenta */
++ [6] = "#89b482", /* cyan */
++ [7] = "#d4be98", /* white */
++
++ /* 8 bright colors */
++ [8] = "#928374", /* black */
++ [9] = "#ef938e", /* red */
++ [10] = "#bbc585", /* green */
++ [11] = "#e1bb7e", /* yellow */
++ [12] = "#9dc2ba", /* blue */
++ [13] = "#e1acbb", /* magenta */
++ [14] = "#a7c7a2", /* cyan */
++ [15] = "#e2d3ba", /* white */
++};
+
+ /*
+ * Default colors (colorname index)
+- * foreground, background, cursor, reverse cursor
++ * foreground, background, cursor
+ */
+-unsigned int defaultfg = 7;
+-unsigned int defaultbg = 0;
+-static unsigned int defaultcs = 256;
++unsigned int defaultfg = 15;
++unsigned int defaultbg = 0;
++static unsigned int defaultcs = 15;
+ static unsigned int defaultrcs = 257;
+
+ /*
Received on Tue Mar 30 2021 - 17:43:10 CEST