Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement for BAR_UNDERLINE_PATCH #323

Open
UtkarshVerma opened this issue Jan 12, 2023 · 2 comments
Open

Improvement for BAR_UNDERLINE_PATCH #323

UtkarshVerma opened this issue Jan 12, 2023 · 2 comments

Comments

@UtkarshVerma
Copy link
Contributor

UtkarshVerma commented Jan 12, 2023

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.

@SisyphusIsntHappy
Copy link

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

Regards

@UtkarshVerma
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants