sites

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

dwm-solarized-6.5.diff (1791B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 9efa774..2e3ac31 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -1,17 +1,17 @@
      6  /* See LICENSE file for copyright and license details. */
      7  
      8  /* appearance */
      9 -static const unsigned int borderpx  = 1;        /* border pixel of windows */
     10 +static const unsigned int borderpx  = 6;        /* border pixel of windows */
     11  static const unsigned int snap      = 32;       /* snap pixel */
     12  static const int showbar            = 1;        /* 0 means no bar */
     13  static const int topbar             = 1;        /* 0 means bottom bar */
     14  static const char *fonts[]          = { "monospace:size=10" };
     15  static const char dmenufont[]       = "monospace:size=10";
     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 col_gray1[]       = "#002b36";
     22 +static const char col_gray2[]       = "#073642";
     23 +static const char col_gray3[]       = "#839496";
     24 +static const char col_gray4[]       = "#93a1a1";
     25 +static const char col_cyan[]        = "#174956";
     26  static const char *colors[][3]      = {
     27  	/*               fg         bg         border   */
     28  	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
     29 diff --git a/dwm.c b/dwm.c
     30 index f1d86b2..2cb8b01 100644
     31 --- a/dwm.c
     32 +++ b/dwm.c
     33 @@ -736,7 +736,7 @@ drawbar(Monitor *m)
     34  
     35  	if ((w = m->ww - tw - x) > bh) {
     36  		if (m->sel) {
     37 -			drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
     38 +			drw_setscheme(drw, scheme[SchemeNorm]);
     39  			drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
     40  			if (m->sel->isfloating)
     41  				drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);