commit c7f633790e2cea3c81544ca04b85f700778628e1
Author: aleks <[email protected]>
Date:   Tue May 31 01:43:13 2022 +0200

    [st][nordtheme] port to 0.8.5; update index.md

diff --git a/st.suckless.org/patches/nordtheme/index.md 
b/st.suckless.org/patches/nordtheme/index.md
index f48c0546..bcadc348 100644
--- a/st.suckless.org/patches/nordtheme/index.md
+++ b/st.suckless.org/patches/nordtheme/index.md
@@ -5,21 +5,17 @@ Description
 -----------
 *"Inspired by the beauty of the arctic, the colors reflect the cold, yet 
harmonious world of ice and the colorfulness of the Aurora Borealis."* - [Nord 
Theme](https://www.nordtheme.com/)
 
-There are also many [ports](https://www.nordtheme.com/ports) for other 
programs like [vim](https://www.nordtheme.com/ports/vim) and 
[tmux](https://www.nordtheme.com/ports/tmux) to make the overall appearance 
coherent. I would recommend to use it in combination with the arc-theme for gtk 
(fits perfectly).
-
 Selection-Colors
 ----------------
+The default behaviour of st is to reverse the fore- and background colors of 
each selected cell. If you don't want the selection-colors to be reveresed but 
instead have fixed fore- and background colors apply on top of this patch the 
[selectioncolors](../selectioncolors/)-patch. Then set the following settings 
in your config.h:
 
-The default behaviour of st is to reverse the fore- and background colors of 
each selected cell. If you want that the selection-colors are not reveresed but 
instead have fixed fore- and background colors apply on top of this patch the 
[selectioncolors](../selectioncolors/)-patch. Then set the following settings 
in your config.h:
-
-       static unsigned int defaultcs = 257;
        static unsigned int defaultrcs = 257;
        unsigned int selectionbg = 0;
        unsigned int selectionfg = 257;
-       static int ignoreselfg = 1;
 
 Download
 --------
+* [st-nordtheme-0.8.5.diff](st-nordtheme-0.8.5.diff)
 * [st-nordtheme-0.8.2.diff](st-nordtheme-0.8.2.diff)
 
 Authors
diff --git a/st.suckless.org/patches/nordtheme/st-nordtheme-0.8.5.diff 
b/st.suckless.org/patches/nordtheme/st-nordtheme-0.8.5.diff
new file mode 100644
index 00000000..1d0b5897
--- /dev/null
+++ b/st.suckless.org/patches/nordtheme/st-nordtheme-0.8.5.diff
@@ -0,0 +1,95 @@
+From 62f19180465432584cb756756a69181553f5dc58 Mon Sep 17 00:00:00 2001
+From: aleks <[email protected]>
+Date: Tue, 31 May 2022 01:14:58 +0200
+Subject: [PATCH] Use nord-theme
+
+*"Inspired by the beauty of the arctic, the colors reflect the cold, yet
+harmonious world of ice and the colorfulness of the Aurora Borealis."* -
+[Nord Theme](https://www.nordtheme.com/)
+
+The default behaviour of st is to reverse the fore- and background
+colors of each selected cell. If you don't want the selection-colors to
+be reveresed but instead have fixed fore- and background colors apply on
+top of this patch the [selectioncolors](../selectioncolors/)-patch. Then
+set the following settings in your config.h:
+
+static unsigned int defaultrcs = 257;
+unsigned int selectionbg = 0;
+unsigned int selectionfg = 257;
+---
+ config.def.h | 46 ++++++++++++++++++++++------------------------
+ 1 file changed, 22 insertions(+), 24 deletions(-)
+
+diff --git a/config.def.h b/config.def.h
+index 91ab8ca..ef4caaa 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -96,32 +96,30 @@ 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",
++      "#3b4252", /* black   */
++      "#bf616a", /* red     */
++      "#a3be8c", /* green   */
++      "#ebcb8b", /* yellow  */
++      "#81a1c1", /* blue    */
++      "#b48ead", /* magenta */
++      "#88c0d0", /* cyan    */
++      "#e5e9f0", /* white   */
+ 
+       /* 8 bright colors */
+-      "gray50",
+-      "red",
+-      "green",
+-      "yellow",
+-      "#5c5cff",
+-      "magenta",
+-      "cyan",
+-      "white",
++      "#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",
+-      "gray90", /* default foreground colour */
+-      "black", /* default background colour */
++      "#2e3440", /* default foreground colour */
++      "#d8dee9", /* default background colour */
+ };
+ 
+ 
+@@ -129,10 +127,10 @@ 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;
+-static unsigned int defaultrcs = 257;
++unsigned int defaultfg = 257;
++unsigned int defaultbg = 256;
++unsigned int defaultcs = 257;
++static unsigned int defaultrcs = 256;
+ 
+ /*
+  * Default shape of cursor
+-- 
+2.36.1
+


Reply via email to