sites

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

commit dfd74609c3803d470dd56ad2978e0292fbeb84df
parent 09cc88889136999eb3f39f3cddb59095db409da6
Author: aleks <aleks.stier@icloud.com>
Date:   Mon, 15 Jul 2019 18:46:08 +0200

[st][patch] Add nord-theme

Diffstat:
Ast.suckless.org/patches/nordtheme/index.md | 18++++++++++++++++++
Ast.suckless.org/patches/nordtheme/st-nordtheme-0.8.2.diff | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 123 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/nordtheme/index.md b/st.suckless.org/patches/nordtheme/index.md @@ -0,0 +1,18 @@ +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/) + +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). + +Download +-------- +* [st-nordtheme-0.8.2.diff](st-nordtheme-0.8.2.diff) + +Authors +------- +* Aleksandrs Stier 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 @@ -0,0 +1,105 @@ +From 7501679725419288a195500421325a02cc008b87 Mon Sep 17 00:00:00 2001 +From: aleks <aleks.stier@icloud.com> +Date: Mon, 15 Jul 2019 18:37:42 +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/) + +Nord Theme has 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). +--- + config.def.h | 68 ++++++++++++++++++++++++++++------------------------ + 1 file changed, 37 insertions(+), 31 deletions(-) + +diff --git a/config.def.h b/config.def.h +index 0e01717..51829f7 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -84,42 +84,48 @@ 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] = "#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. + */ +-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; + + /* + * Default shape of cursor +-- +2.17.1 +