void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

st-nordtheme-0.8.2.diff (2872B)


      1 https://st.suckless.org/patches/nordtheme/
      2 
      3 From 3e8f83d40c6fdd89653ef547aa16cffe1f3c1793 Mon Sep 17 00:00:00 2001
      4 From: aleks <aleks.stier@icloud.com>
      5 Date: Sun, 4 Aug 2019 13:23:10 +0200
      6 Subject: [PATCH] Apply nord-theme
      7 
      8 *"Inspired by the beauty of the arctic, the colors reflect the cold, yet
      9 harmonious world of ice and the colorfulness of the Aurora Borealis."* - [Nord
     10 Theme](https://www.nordtheme.com/)
     11 
     12 There are also many [ports](https://www.nordtheme.com/ports) for other programs
     13 like [vim](https://www.nordtheme.com/ports/vim) and
     14 [tmux](https://www.nordtheme.com/ports/tmux) to make the overall appearance
     15 coherent. I would recommend to use it in combination with the arc-theme for gtk
     16 (fits perfectly).
     17 
     18 The default behaviour of st is to reverse the fore- and background colors of
     19 each selected cell. If you want that the selection-colors are not reveresed but
     20 instead have fixed fore- and background colors apply on top of this patch the
     21 [selectioncolors](../selectioncolors/)-patch. Then set the following settings
     22 in your config.h:
     23 
     24 static unsigned int defaultcs = 257;
     25 static unsigned int defaultrcs = 257;
     26 unsigned int selectionfg = 257;
     27 unsigned int selectionbg = 0;
     28 ---
     29  config.def.h | 44 ++++++++++++++++++++++----------------------
     30  1 file changed, 22 insertions(+), 22 deletions(-)
     31 
     32 diff --git a/config.def.h b/config.def.h
     33 index 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 -- 
    101 2.22.0
    102