| st-nordtheme-0.8.2.diff - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| Refs | |
| --- | |
| st-nordtheme-0.8.2.diff (2828B) | |
| --- | |
| 1 From 3e8f83d40c6fdd89653ef547aa16cffe1f3c1793 Mon Sep 17 00:00:00 2001 | |
| 2 From: aleks <[email protected]> | |
| 3 Date: Sun, 4 Aug 2019 13:23:10 +0200 | |
| 4 Subject: [PATCH] Apply nord-theme | |
| 5 | |
| 6 *"Inspired by the beauty of the arctic, the colors reflect the cold, yet | |
| 7 harmonious world of ice and the colorfulness of the Aurora Borealis."* -… | |
| 8 Theme](https://www.nordtheme.com/) | |
| 9 | |
| 10 There are also many [ports](https://www.nordtheme.com/ports) for other p… | |
| 11 like [vim](https://www.nordtheme.com/ports/vim) and | |
| 12 [tmux](https://www.nordtheme.com/ports/tmux) to make the overall appeara… | |
| 13 coherent. I would recommend to use it in combination with the arc-theme … | |
| 14 (fits perfectly). | |
| 15 | |
| 16 The default behaviour of st is to reverse the fore- and background color… | |
| 17 each selected cell. If you want that the selection-colors are not revere… | |
| 18 instead have fixed fore- and background colors apply on top of this patc… | |
| 19 [selectioncolors](../selectioncolors/)-patch. Then set the following set… | |
| 20 in your config.h: | |
| 21 | |
| 22 static unsigned int defaultcs = 257; | |
| 23 static unsigned int defaultrcs = 257; | |
| 24 unsigned int selectionfg = 257; | |
| 25 unsigned int selectionbg = 0; | |
| 26 --- | |
| 27 config.def.h | 44 ++++++++++++++++++++++---------------------- | |
| 28 1 file changed, 22 insertions(+), 22 deletions(-) | |
| 29 | |
| 30 diff --git a/config.def.h b/config.def.h | |
| 31 index 0e01717..fb504d4 100644 | |
| 32 --- a/config.def.h | |
| 33 +++ b/config.def.h | |
| 34 @@ -85,30 +85,30 @@ unsigned int tabspaces = 8; | |
| 35 /* Terminal colors (16 first used in escape sequence) */ | |
| 36 static const char *colorname[] = { | |
| 37 /* 8 normal colors */ | |
| 38 - "black", | |
| 39 - "red3", | |
| 40 - "green3", | |
| 41 - "yellow3", | |
| 42 - "blue2", | |
| 43 - "magenta3", | |
| 44 - "cyan3", | |
| 45 - "gray90", | |
| 46 + "#3b4252", /* black */ | |
| 47 + "#bf616a", /* red */ | |
| 48 + "#a3be8c", /* green */ | |
| 49 + "#ebcb8b", /* yellow */ | |
| 50 + "#81a1c1", /* blue */ | |
| 51 + "#b48ead", /* magenta */ | |
| 52 + "#88c0d0", /* cyan */ | |
| 53 + "#e5e9f0", /* white */ | |
| 54 | |
| 55 /* 8 bright colors */ | |
| 56 - "gray50", | |
| 57 - "red", | |
| 58 - "green", | |
| 59 - "yellow", | |
| 60 - "#5c5cff", | |
| 61 - "magenta", | |
| 62 - "cyan", | |
| 63 - "white", | |
| 64 + "#4c566a", /* black */ | |
| 65 + "#bf616a", /* red */ | |
| 66 + "#a3be8c", /* green */ | |
| 67 + "#ebcb8b", /* yellow */ | |
| 68 + "#81a1c1", /* blue */ | |
| 69 + "#b48ead", /* magenta */ | |
| 70 + "#8fbcbb", /* cyan */ | |
| 71 + "#eceff4", /* white */ | |
| 72 | |
| 73 [255] = 0, | |
| 74 | |
| 75 /* more colors can be added after 255 to use with DefaultXX */ | |
| 76 - "#cccccc", | |
| 77 - "#555555", | |
| 78 + "#2e3440", /* background */ | |
| 79 + "#d8dee9", /* foreground */ | |
| 80 }; | |
| 81 | |
| 82 | |
| 83 @@ -116,10 +116,10 @@ static const char *colorname[] = { | |
| 84 * Default colors (colorname index) | |
| 85 * foreground, background, cursor, reverse cursor | |
| 86 */ | |
| 87 -unsigned int defaultfg = 7; | |
| 88 -unsigned int defaultbg = 0; | |
| 89 -static unsigned int defaultcs = 256; | |
| 90 -static unsigned int defaultrcs = 257; | |
| 91 +unsigned int defaultfg = 257; | |
| 92 +unsigned int defaultbg = 256; | |
| 93 +static unsigned int defaultcs = 257; | |
| 94 +static unsigned int defaultrcs = 256; | |
| 95 | |
| 96 /* | |
| 97 * Default shape of cursor | |
| 98 -- | |
| 99 2.22.0 | |
| 100 |