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

feat(groupbar): render a border around the window and groupbar #9561

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nnyyxxxx
Copy link
Contributor

@nnyyxxxx nnyyxxxx commented Mar 7, 2025

fixes #9291

example image included in #9291 , looks the exact same

hyprwm/hyprland-wiki#996

@izmyname
Copy link
Contributor

izmyname commented Mar 7, 2025

Can we have those borders completely disabled, by default, please? Tbh I want to remove my eyes when I'm looking at the example image.

UPD: Also, why three new variables instead of something like expand_border_to_groupbar = 1/0 ?

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

UPD: Also, why three new variables instead of something like expand_border_to_groupbar = 1/0 ?

why do this ? lack of customization

@izmyname
Copy link
Contributor

izmyname commented Mar 7, 2025

UPD: Also, why three new variables instead of something like expand_border_to_groupbar = 1/0 ?

why do this ? lack of customization

Common sense? Why would anyone want a different border with extra options for a groupbar, when there are already settings for group windows?

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

that's your opinion. many people would like the extra customization

@izmyname
Copy link
Contributor

izmyname commented Mar 7, 2025

I'm pretty sure, they aren't, in this case.

At least, make it disabled by default, please. I'm sure many people wouldn't want to mess with three new extra variables just to fix... this.

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

fix what?

just to fix... this.

patterns like this probably exist elsewhere in the codebase as well no need to get feisty

I'm pretty sure, they aren't, in this case.

@izmyname
Copy link
Contributor

izmyname commented Mar 7, 2025

fix what?

You already fixed this, so not gonna talk about this. Thanks, btw

patterns like this probably exist elsewhere in the codebase as well no need to get feisty

what

I'm not gonna repeat myself, but to conclude: introducing three new config variables, instead of one, just to theme such a small thing as a groupbar, especially given that settings for group borders already exist - is a big brain move.

Anyway, thanks again for disabling this, by default. I don't care anymore, take care.

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

the borders for the group and groupbar are 2 different things, no need to merge config options for both of them by adding:

expand_border_to_groupbar = 1/0

@MightyPlaza
Copy link
Contributor

just coming here to add that priority already exists for extending the border
image
broken for a while for non floating windows and other smaller issues

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

it looks like its merging into the groupbar though also thick asf

also doesnt even look positioned right

not a clean hack i'd say, even if its possible has many issues and crashes like you said

what if the user wants a border around the groupbar and the group? using this hack wouldn't make that possible

@MightyPlaza
Copy link
Contributor

MightyPlaza commented Mar 7, 2025

it looks like its merging into the groupbar though also thick asf

it simply moves the groupbar bounding box inside the border bounding box
I intended on polishing it up in the past (see #3197 (comment))
doe I lost interest mostly due to not using rounding myself and the code used in hyprbar / PR to do it has rounding issues
image

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Mar 7, 2025

it simply moves the groupbar bounding box inside the border bounding box

then this wouldnt be possible:

what if the user wants a border around the groupbar and the group? using this hack wouldn't make that possible


doe I lost interest mostly due to not using rounding myself and the code used in hyprbar / PR to do it had rounding issues

ic, been open for like 2 years

unrecoverable merge conflicts

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

Successfully merging this pull request may close these issues.

[feat req] Groupbar option to render borders around it
3 participants