diff --git a/config.def.h b/config.def.h index 1737f37..fb45a00 100644 --- a/config.def.h +++ b/config.def.h @@ -8,7 +8,7 @@ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int horizpadbar = 5; -static const int vertpadbar = 6; +static const int vertpadbar = 8; static const int vertpadstat = 0; static const char *fonts[] = { "Ubuntu Mono:style=Bold:size=10:antialias=true:autohint=true", diff --git a/config.h b/config.h index 1737f37..fb45a00 100644 --- a/config.h +++ b/config.h @@ -8,7 +8,7 @@ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int horizpadbar = 5; -static const int vertpadbar = 6; +static const int vertpadbar = 8; static const int vertpadstat = 0; static const char *fonts[] = { "Ubuntu Mono:style=Bold:size=10:antialias=true:autohint=true", diff --git a/dwm b/dwm index 788784a..1be7323 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.c b/dwm.c index 7cfd234..a4ae2ae 100644 --- a/dwm.c +++ b/dwm.c @@ -740,7 +740,7 @@ drawstatusbar(Monitor *m, int bh, char* stext) { w += 2; /* 1px padding on both sides */ ret = m->ww - w; - x = m->ww - w - 2 * vpb; + x = m->ww - w - 2 * hpb; drw_setscheme(drw, scheme[LENGTH(colors)]); drw->scheme[ColFg] = scheme[SchemeNorm][ColFg]; @@ -839,10 +839,18 @@ drawbar(Monitor *m) w = TEXTW(tags[i]); drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]); drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i); - if (occ & 1 << i) - drw_rect(drw, x + boxs, boxs, boxw, boxw, - m == selmon && selmon->sel && selmon->sel->tags & 1 << i, - urg & 1 << i); + if (occ & 1 << i) { +// drw_rect(drw, x + boxs, boxs, boxw, boxw, +// m == selmon && selmon->sel && selmon->sel->tags & 1 << i, +// urg & 1 << i); + drw_rect(drw, x + w / 3, 0, w / 3, 2, 0, 0); + drw_rect(drw, x + w / 3, bh - 2, w / 3, 2, 0, 0); + if (m == selmon && selmon->sel && selmon->sel->tags & 1 << i) { + drw_rect(drw, x, 0, w, 2, 0, 0); + drw_rect(drw, x, bh - 2, w, 2, 0, 0); + } + } + x += w; } w = blw = TEXTW(m->ltsymbol); diff --git a/dwm.o b/dwm.o index a699a1a..1069ea1 100644 Binary files a/dwm.o and b/dwm.o differ