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

Border on floating windows regardless of focus #574

Open
daxisunder opened this issue Apr 6, 2024 · 8 comments
Open

Border on floating windows regardless of focus #574

daxisunder opened this issue Apr 6, 2024 · 8 comments

Comments

@daxisunder
Copy link

daxisunder commented Apr 6, 2024

Can you set border on floating windows regardless of focus? Something like border_on_floating=true for always showing border on floating windows. I couldn't find anything in the Wiki except no_border_on_floating which is the opposite of what I'd like.It would be great if it can be added.

@vaxerski
Copy link
Member

vaxerski commented Apr 6, 2024

windowrulev2 = bordersize 10, floating:1?

@daxisunder
Copy link
Author

daxisunder commented Apr 6, 2024

I have set:
col.active_border = $red
col.inactive_border = none
but I'd like to set the border on all floating windows to be red, regardless of active/inactive. What you said still doesn't show it if the floating window is inactive. Something like border_on_floating = int (0, 1, 2, 3 always, active, inactive, never) and then col.floating_border = would be really nice if it could be implemented.

@vaxerski
Copy link
Member

vaxerski commented Apr 6, 2024

none is not a color

doesn't show it if the floating window is inactive.

ugh another day of telling people to go rtfm: https://wiki.hyprland.org/Configuring/Window-Rules/#dynamic-rules

@daxisunder
Copy link
Author

daxisunder commented Apr 6, 2024

none is not a color

I know, I don't want border on inactive windows none like noborder works just fine. Even if I set the color, I can't get what I want.

ugh another day of telling people to go rtfm: https://wiki.hyprland.org/Configuring/Window-Rules/#dynamic-rules

I've read the f...n manual, there's nothing about what I want in it. Furthermore, I want the border on all floating windows to always be red, active, or inactive, while other windows have a red border while active and no border while inactive. Your solution changes border on floating windows depending on if it's active or inactive, I don't want it to change.

@vaxerski
Copy link
Member

vaxerski commented Apr 7, 2024

sigh...

image

image

@daxisunder
Copy link
Author

daxisunder commented Apr 7, 2024

That makes the border of all other windows (except floating) not show up. I still want other tiled windows to respect col.active_border=$red and col.inactive_border=noborder while floating windows always have border (and it never changes color).

@vaxerski
Copy link
Member

vaxerski commented Apr 7, 2024

don't set the tiled rule then?

@daxisunder
Copy link
Author

daxisunder commented Apr 7, 2024

That's one way, but I don't want that. I only asked if it can be done (since I couldn't find it in the Wiki) and if not, could it perhaps be implemented. Nothing else.

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