birdwm

birdwm - mrgrouse's daily driver fork of suckless' dwm. Contains many patches and is currently loosely maintained.
Log | Files | Refs | README | LICENSE

darling-6.4.patch (2697B)


      1 commit a1d93e976274d027e732e3d4a3fc9a6b360af015
      2 Author: grouse <bdmfegys@duck.com>
      3 Date:   Sun Dec 3 00:52:21 2023 -0500
      4 
      5     darling patch for dwm is a colorscheme patch based on gmk's darling keycaps
      6 
      7 diff --git a/config.def.h b/config.def.h
      8 index 9efa774..365859c 100644
      9 --- a/config.def.h
     10 +++ b/config.def.h
     11 @@ -7,16 +7,44 @@ static const int showbar            = 1;        /* 0 means no bar */
     12  static const int topbar             = 1;        /* 0 means bottom bar */
     13  static const char *fonts[]          = { "monospace:size=10" };
     14  static const char dmenufont[]       = "monospace:size=10";
     15 +/* commented and replaced by darling theme
     16  static const char col_gray1[]       = "#222222";
     17  static const char col_gray2[]       = "#444444";
     18  static const char col_gray3[]       = "#bbbbbb";
     19  static const char col_gray4[]       = "#eeeeee";
     20  static const char col_cyan[]        = "#005577";
     21  static const char *colors[][3]      = {
     22 -	/*               fg         bg         border   */
     23 +//	               fg         bg         border   
     24  	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
     25  	[SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
     26  };
     27 +*/
     28 +/*
     29 +color codes:
     30 +	dark red:	#861a22
     31 +	pink:		#f4cdd4
     32 +	white:		#f7f2ea
     33 +	red:		#bb1e10
     34 + -  unused cause it didnt look right
     35 +	blue:		#00a7e2
     36 +*/
     37 +// non-focused background 
     38 +static const char darlingunselbg[] = "#861a22";
     39 +// non-focused border
     40 +static const char darlingunselborder[] = "#861a22";
     41 +// non-focused foreground
     42 +static const char darlingunselfg[] = "#f7f2ea";
     43 +// focused foreground
     44 +static const char darlingselfg[] = "#f4cdd4";
     45 +// focused background
     46 +static const char darlingselbg[] = "#bb1e10";
     47 +// focused border
     48 +static const char darlingselborder[] = "#f4cdd4";
     49 +static const char *colors[][3]      = {
     50 +	/*               fg         bg         border   */
     51 +	[SchemeNorm] = { darlingunselfg, darlingunselbg, darlingunselborder },
     52 +	[SchemeSel]  = { darlingselfg, darlingselbg,  darlingselborder },
     53 +};
     54  
     55  /* tagging */
     56  static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
     57 @@ -57,7 +85,10 @@ static const Layout layouts[] = {
     58  
     59  /* commands */
     60  static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
     61 +/* uncommented and replaced by darling patch
     62  static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
     63 +*/
     64 +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", darlingunselbg, "-nf", darlingunselfg, "-sb", darlingselbg, "-sf", darlingselfg, NULL };
     65  static const char *termcmd[]  = { "st", NULL };
     66  
     67  static const Key keys[] = {