commit: 3c59aea75f8fa732ec6acf41e2963c09bca03c32
parent: 8058a34f7a237dd7d326c2c3c7c32c168fe034ef
author: Chris Noxz <chris@noxz.tech>
date: Fri, 15 Dec 2023 15:54:25 +0100
Remove floating indicator from bar
1 file changed, 4 deletions(-)
diff --git a/dwm.c b/dwm.c
@@ -861,8 +861,6 @@ drawbar(Monitor *m)
{
int x, w, tw = 0;
int tlpad;
- int boxs = drw->fonts->h / 9;
- int boxw = drw->fonts->h / 6 + 2;
unsigned int i, j, occ = 0, urg = 0;
char *ts = stext;
char *tp = stext;
@@ -956,8 +954,6 @@ drawbar(Monitor *m)
drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
else
drw_text(drw, x, 0, w, bh, tlpad, m->sel->name, 0);
- if (m->sel->isfloating)
- drw_rect(drw, x + boxs + 1, boxs + 1, boxw, boxw, m->sel->isfixed, ColFg);
} else {
drw_setscheme(drw, scheme[SchemeTitleNorm]);
drw_rect(drw, x, 0, w, bh, 1, ColBg);