Introduction
Introduction Statistics Contact Development Disclaimer Help
st-nordtheme-0.8.5.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
st-nordtheme-0.8.5.diff (2445B)
---
1 From 1904cbc9af2d518a77331deb082750366aaec90b Mon Sep 17 00:00:00 2001
2 From: aleks <[email protected]>
3 Date: Tue, 31 May 2022 13:09:47 +0200
4 Subject: [PATCH] Use 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 [Nord Theme](https://www.nordtheme.com/)
9
10 The default behaviour of st is to reverse the fore- and background
11 colors of each selected cell. If you don't want the selection-colors to
12 be reveresed but instead have fixed fore- and background colors apply on
13 top of this patch the [selectioncolors](../selectioncolors/)-patch. Then
14 set the following settings in your config.h:
15
16 unsigned int selectionbg = 0;
17 unsigned int selectionfg = 256;
18 ---
19 config.def.h | 42 ++++++++++++++++++++----------------------
20 1 file changed, 20 insertions(+), 22 deletions(-)
21
22 diff --git a/config.def.h b/config.def.h
23 index 91ab8ca..afd00fd 100644
24 --- a/config.def.h
25 +++ b/config.def.h
26 @@ -96,32 +96,30 @@ unsigned int tabspaces = 8;
27 /* Terminal colors (16 first used in escape sequence) */
28 static const char *colorname[] = {
29 /* 8 normal colors */
30 - "black",
31 - "red3",
32 - "green3",
33 - "yellow3",
34 - "blue2",
35 - "magenta3",
36 - "cyan3",
37 - "gray90",
38 + "#3b4252", /* black */
39 + "#bf616a", /* red */
40 + "#a3be8c", /* green */
41 + "#ebcb8b", /* yellow */
42 + "#81a1c1", /* blue */
43 + "#b48ead", /* magenta */
44 + "#88c0d0", /* cyan */
45 + "#e5e9f0", /* white */
46
47 /* 8 bright colors */
48 - "gray50",
49 - "red",
50 - "green",
51 - "yellow",
52 - "#5c5cff",
53 - "magenta",
54 - "cyan",
55 - "white",
56 + "#4c566a", /* black */
57 + "#bf616a", /* red */
58 + "#a3be8c", /* green */
59 + "#ebcb8b", /* yellow */
60 + "#81a1c1", /* blue */
61 + "#b48ead", /* magenta */
62 + "#8fbcbb", /* cyan */
63 + "#eceff4", /* white */
64
65 [255] = 0,
66
67 /* more colors can be added after 255 to use with DefaultXX */
68 - "#cccccc",
69 - "#555555",
70 - "gray90", /* default foreground colour */
71 - "black", /* default background colour */
72 + "#d8dee9", /* default foreground colour */
73 + "#2e3440", /* default background colour */
74 };
75
76
77 @@ -129,8 +127,8 @@ static const char *colorname[] = {
78 * Default colors (colorname index)
79 * foreground, background, cursor, reverse cursor
80 */
81 -unsigned int defaultfg = 258;
82 -unsigned int defaultbg = 259;
83 +unsigned int defaultfg = 256;
84 +unsigned int defaultbg = 257;
85 unsigned int defaultcs = 256;
86 static unsigned int defaultrcs = 257;
87
88 --
89 2.36.1
90
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.