The current version of the activetagindicatorbar-patch which was released for dwm-6.1 (https://dwm.suckless.org/patches/activetagindicatorbar/) doesn't work on dwm-6.2 due to a failing hunk. This is because the patched line uses the variable dx which in dwm-6.2 however is called boxw. Also its now surrounded by an if-statement. Here I send you a fixed version which should work for dwm-6.2
From 42326f32f65907496b79980b9c04107d4806292c Mon Sep 17 00:00:00 2001 From: astier <[email protected]> Date: Thu, 21 Feb 2019 12:07:59 +0100 Subject: [PATCH] Replace rectangle tag-indicator with a bar
This patch changes the rectangle indicating if a tag is used by a client into a bar above the tag name. Be sure to use a font which leaves enough space between the text of the tag name and the top of the bar. --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 4465af1..70cf5fe 100644 --- a/dwm.c +++ b/dwm.c @@ -719,7 +719,7 @@ drawbar(Monitor *m) 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, + drw_rect(drw, x + boxw, 0, w - ( 2 * boxw + 1 ), boxw / 2, m == selmon && selmon->sel && selmon->sel->tags & 1 << i, urg & 1 << i); x += w; -- 2.20.1
