sites

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

st-sunset-saffron-20240628-792ab7a.diff (1727B)


      1 From 792ab7a4bb1146a3188587adf683d7a56c539bcf Mon Sep 17 00:00:00 2001
      2 From: elbachir-one <bachiralfa@gmail.com>
      3 Date: Fri, 28 Jun 2024 01:17:41 +0100
      4 Subject: [PATCH] Saffron color scheme (Sunset)
      5 
      6 ---
      7  config.def.h | 58 +++++++++++++++++++++++-----------------------------
      8  1 file changed, 26 insertions(+), 32 deletions(-)
      9 
     10 diff --git a/config.def.h b/config.def.h
     11 index 2cd740a..7225d41 100644
     12 --- a/config.def.h
     13 +++ b/config.def.h
     14 @@ -95,44 +95,38 @@ unsigned int tabspaces = 8;
     15  
     16  /* Terminal colors (16 first used in escape sequence) */
     17  static const char *colorname[] = {
     18 -	/* 8 normal colors */
     19 -	"black",
     20 -	"red3",
     21 -	"green3",
     22 -	"yellow3",
     23 -	"blue2",
     24 -	"magenta3",
     25 -	"cyan3",
     26 -	"gray90",
     27 -
     28 -	/* 8 bright colors */
     29 -	"gray50",
     30 -	"red",
     31 -	"green",
     32 -	"yellow",
     33 -	"#5c5cff",
     34 -	"magenta",
     35 -	"cyan",
     36 -	"white",
     37 -
     38 -	[255] = 0,
     39 -
     40 -	/* more colors can be added after 255 to use with DefaultXX */
     41 -	"#cccccc",
     42 -	"#555555",
     43 -	"gray90", /* default foreground colour */
     44 -	"black", /* default background colour */
     45 +    "#1d2021",
     46 +    "#fbf1c7",
     47 +    "#fe8019",
     48 +    "#8ec07c",
     49 +    "#d3869b",
     50 +    "#fabd2f",
     51 +    "#83a598",
     52 +    "#fe8019",
     53 +    "#1d2021",
     54 +    "#282828",
     55 +    "#3c3836",
     56 +    "#928374",
     57 +    "#504945",
     58 +    "#665c54",
     59 +    "#7c6f64",
     60 +    "#a89984",
     61 +
     62 +    [255] = 0,
     63 +
     64 +    "#fabd2f",
     65 +    "#fe8019",
     66 +    "#000000",
     67 +    "#fbf1c7",
     68  };
     69 -
     70 -
     71  /*
     72   * Default colors (colorname index)
     73   * foreground, background, cursor, reverse cursor
     74   */
     75 -unsigned int defaultfg = 258;
     76 -unsigned int defaultbg = 259;
     77 +unsigned int defaultfg = 259;
     78 +unsigned int defaultbg = 258;
     79  unsigned int defaultcs = 256;
     80 -static unsigned int defaultrcs = 257;
     81 +unsigned int defaultrcs = 257;
     82  
     83  /*
     84   * Default shape of cursor
     85 -- 
     86 2.45.2
     87