sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit bea65b71c0c9247500d45c678454f35deffebe51
parent e7773dd4dfa9ff2f75a649caf4d5914f21111a71
Author: aleks <aleks.stier@icloud.com>
Date:   Sun,  4 Aug 2019 13:18:18 +0200

[st][patches][nordtheme] Clean

Diffstat:
Mst.suckless.org/patches/nordtheme/index.md | 4+++-
Mst.suckless.org/patches/nordtheme/st-nordtheme-0.8.2.diff | 108+++++++++++++++++++++++++++++++++----------------------------------------------
2 files changed, 48 insertions(+), 64 deletions(-)

diff --git a/st.suckless.org/patches/nordtheme/index.md b/st.suckless.org/patches/nordtheme/index.md @@ -3,10 +3,12 @@ nordtheme 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/) +*"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). +TODO: Make selection-colors not simply reverse colors but use nord-colors. + Download -------- * [st-nordtheme-0.8.2.diff](st-nordtheme-0.8.2.diff) diff --git a/st.suckless.org/patches/nordtheme/st-nordtheme-0.8.2.diff b/st.suckless.org/patches/nordtheme/st-nordtheme-0.8.2.diff @@ -1,30 +1,31 @@ -From 7501679725419288a195500421325a02cc008b87 Mon Sep 17 00:00:00 2001 +From 6f1f9c9cd2d32024adfc5e3db1136c3e44560dc2 Mon Sep 17 00:00:00 2001 From: aleks <aleks.stier@icloud.com> -Date: Mon, 15 Jul 2019 18:37:42 +0200 +Date: Sun, 4 Aug 2019 13:07:24 +0200 Subject: [PATCH] Apply 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/) +"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/) -Nord Theme has also many [ports](https://www.nordtheme.com/ports) for -other programs like [vim](https://www.nordtheme.com/ports/vim) and +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). + +TODO: Make selection-colors not simply reverse colors but use nord-colors. --- - config.def.h | 68 ++++++++++++++++++++++++++++------------------------ - 1 file changed, 37 insertions(+), 31 deletions(-) + config.def.h | 40 ++++++++++++++++++++-------------------- + 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/config.def.h b/config.def.h -index 0e01717..51829f7 100644 +index 0e01717..3cd49bf 100644 --- a/config.def.h +++ b/config.def.h -@@ -84,42 +84,48 @@ unsigned int tabspaces = 8; - +@@ -85,30 +85,30 @@ unsigned int tabspaces = 8; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { -- /* 8 normal colors */ + /* 8 normal colors */ - "black", - "red3", - "green3", @@ -33,8 +34,16 @@ index 0e01717..51829f7 100644 - "magenta3", - "cyan3", - "gray90", -- -- /* 8 bright colors */ ++ "#3b4252", /* black */ ++ "#bf616a", /* red */ ++ "#a3be8c", /* green */ ++ "#ebcb8b", /* yellow */ ++ "#81a1c1", /* blue */ ++ "#b48ead", /* magenta */ ++ "#88c0d0", /* cyan */ ++ "#e5e9f0", /* white */ + + /* 8 bright colors */ - "gray50", - "red", - "green", @@ -43,63 +52,36 @@ index 0e01717..51829f7 100644 - "magenta", - "cyan", - "white", -- -- [255] = 0, -- -- /* more colors can be added after 255 to use with DefaultXX */ ++ "#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", --}; ++ "#2e3440", /* background */ ++ "#d8dee9", /* foreground */ + }; -+ /* 8 normal colors */ -+ [0] = "#3b4252", /* black */ -+ [1] = "#bf616a", /* red */ -+ [2] = "#a3be8c", /* green */ -+ [3] = "#ebcb8b", /* yellow */ -+ [4] = "#81a1c1", /* blue */ -+ [5] = "#b48ead", /* magenta */ -+ [6] = "#88c0d0", /* cyan */ -+ [7] = "#e5e9f0", /* white */ -+ -+ /* 8 bright colors */ -+ [8] = "#4c566a", /* black */ -+ [9] = "#bf616a", /* red */ -+ [10] = "#a3be8c", /* green */ -+ [11] = "#ebcb8b", /* yellow */ -+ [12] = "#81a1c1", /* blue */ -+ [13] = "#b48ead", /* magenta */ -+ [14] = "#8fbcbb", /* cyan */ -+ [15] = "#eceff4", /* white */ -+ -+ /* special colors */ -+ [256] = "#2e3440", /* background */ -+ [257] = "#d8dee9", /* foreground */ -+}; - /* - * Default colors (colorname index) -- * foreground, background, cursor, reverse cursor -+ * foreground, background, cursor -+ */ -+unsigned int defaultfg = 257; -+unsigned int defaultbg = 256; -+static unsigned int defaultcs = 257; -+static unsigned int defaultrcs = 256; -+ -+/* -+ * Colors used, when the specific fg == defaultfg. So in reverse mode this -+ * will reverse too. Another logic would only make the simple feature too -+ * complex. +@@ -118,8 +118,8 @@ static const char *colorname[] = { */ --unsigned int defaultfg = 7; --unsigned int defaultbg = 0; + unsigned int defaultfg = 7; + unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; -+static unsigned int defaultitalic = 7; -+static unsigned int defaultunderline = 7; ++static unsigned int defaultcs = 257; ++static unsigned int defaultrcs = 256; /* * Default shape of cursor -- -2.17.1 +2.22.0