dwm-flexipatch icon indicating copy to clipboard operation
dwm-flexipatch copied to clipboard

Improvement for BAR_UNDERLINE_PATCH

Open UtkarshVerma opened this issue 2 years ago • 2 comments

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: image

Just leaving it here as a suggestion.

UtkarshVerma avatar Jan 12 '23 05:01 UtkarshVerma

Unrelated but your setup looks nice, mind sharing what patches you use or even the source ?

Regards

SisyphusIsntHappy avatar Mar 06 '24 16:03 SisyphusIsntHappy

@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/

UtkarshVerma avatar Mar 07 '24 06:03 UtkarshVerma