Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -821,15 +913,13 @@ drawbar(Monitor *m)
- drw_setscheme(drw, scheme[SchemeNorm]);
- x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
- + // Draw bartabgroups
- + drw_rect(drw, x, 0, m->ww - tw - x, bh, 1, 1);
- if ((w = m->ww - tw - x) > bh) {
- - if (m->sel) {
- - drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
- - drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
- - if (m->sel->isfloating)
- - drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);
- - } else {
- - drw_setscheme(drw, scheme[SchemeNorm]);
- - drw_rect(drw, x, 0, w, bh, 1, 1);
- + bartabcalculate(m, x, tw, -1, bartabdraw);
- + if (BARTAB_BOTTOMBORDER) {
- + drw_setscheme(drw, scheme[SchemeTabActive]);
- + drw_rect(drw, 0, bh - 1, m->ww, 1, 1, 0);
- }
- }
- drw_map(drw, m->barwin, 0, 0, m->ww, bh);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement