dwm - deugly === DWM[0] is pretty great, but the center coloring of the program name on the bar is really obtrusive. I finally sat down and wrote a little patch[1] to fix it. Shouldn't have put it off for so long, when it was a 30-second fix. `
diff --git a/config.def.h b/config.def.h index 9efa774..95f927d 100644 --- a/config.def.h +++ b/config.def.h @@ -7,2 +7,3 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ +static const int highlight_selname = 0; /* draw sel background on program name */ static const char *fonts[] = { "monospace:size=10" }; diff --git a/dwm.c b/dwm.c index 1443802..954b85a 100644 --- a/dwm.c +++ b/dwm.c @@ -737,3 +737,4 @@ drawbar(Monitor *m) if (m->sel) { - drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); + if (highlight_selname == 1) + drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);` [0]: