Advertisement
Guest User

dwm.c.rej

a guest
Oct 5th, 2022
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. @@ -821,15 +913,13 @@ drawbar(Monitor *m)
  2. drw_setscheme(drw, scheme[SchemeNorm]);
  3. x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
  4.  
  5. + // Draw bartabgroups
  6. + drw_rect(drw, x, 0, m->ww - tw - x, bh, 1, 1);
  7. if ((w = m->ww - tw - x) > bh) {
  8. - if (m->sel) {
  9. - drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
  10. - drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
  11. - if (m->sel->isfloating)
  12. - drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);
  13. - } else {
  14. - drw_setscheme(drw, scheme[SchemeNorm]);
  15. - drw_rect(drw, x, 0, w, bh, 1, 1);
  16. + bartabcalculate(m, x, tw, -1, bartabdraw);
  17. + if (BARTAB_BOTTOMBORDER) {
  18. + drw_setscheme(drw, scheme[SchemeTabActive]);
  19. + drw_rect(drw, 0, bh - 1, m->ww, 1, 1, 0);
  20. }
  21. }
  22. drw_map(drw, m->barwin, 0, 0, m->ww, bh);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement