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