diff options
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1153,6 +1153,8 @@ drawbar(Monitor *m) w = TEXTW(tags[i]); drw_setscheme(drw, (m->tagset[m->seltags] & 1 << i ? tagscheme[i] : scheme[SchemeNorm])); drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i); + if (ulineall || m->tagset[m->seltags] & 1 << i) /* if there are conflicts, just move these lines directly underneath both 'drw_setscheme' and 'drw_text' :) */ + drw_rect(drw, x + ulinepad, bh - ulinestroke - ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0); if (occ & 1 << i) drw_rect(drw, x + boxs, boxs, boxw, boxw, m == selmon && selmon->sel && selmon->sel->tags & 1 << i, @@ -1336,7 +1338,7 @@ focus(Client *c) } } // XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColBorder].pixel); - XSetWindowBorder(dpy, c->win, tagscheme[i - 1][1].pixel); + XSetWindowBorder(dpy, c->win, tagscheme[i - 1][0].pixel); setfocus(c); } else { XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); @@ -2628,7 +2630,7 @@ dmenuspawn(const Arg *arg) break; } } - cmd[i] = strdup(tagsel[j - 1][1]); + cmd[i] = strdup(tagsel[j - 1][0]); if (!cmd[i]) { for (j = 0; j < i; j++) { free(cmd[j]); |