dwm-flexipatch
dwm-flexipatch copied to clipboard
Improvement for BAR_UNDERLINE_PATCH
I recently made a slight change to patches/bar_tags.c to control the position of the underline based on topbar.
#if BAR_UNDERLINETAGS_PATCH
if (ulineall || m->tagset[m->seltags] & 1 << i) {
if (topbar) {
drw_rect(drw, x + ulinepad, ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0);
} else {
drw_rect(drw, x + ulinepad, bh - ulinestroke - ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0);
}
}
#endif // BAR_UNDERLINETAGS_PATCH
Here's how it looks:

Just leaving it here as a suggestion.
Unrelated but your setup looks nice, mind sharing what patches you use or even the source ?
Regards
@SisyphusIsntHappy, you'll find everything on my GitHub profile as repositories. Important ones are:
https://github.com/UtkarshVerma/dwmblocks-async https://github.com/UtkarshVerma/dwm https://github.com/UtkarshVerma/dotfiles/