KZDKM / Hyprspace

Workspace overview plugin for Hyprland
GNU General Public License v2.0
499 stars 17 forks source link

Feature Request: Rounded Corners #59

Open quuinnn opened 4 months ago

quuinnn commented 4 months ago

It would be nice if there was some rounded corners. Would make everything look nicer IMO

nine7nine commented 3 months ago

In Render.cpp there is a comment about this:

g_pHyprOpenGL->renderRectWithBlur(&curWorkspaceBox, Config::workspaceActiveBackground); // cant really round it until I find a proper way to clip windows to a rounded rect

So it seems to be a desired feature / on the roadmap, but KZDKM hasn't quite figured out a way to do it properly yet, unfortunately.

Personally, as I am using my own forked version of Hyprspace (static switcher / not overview), I went ahead and added support for rounded borders: https://github.com/nine7nine/Hyprspace-n7n/commit/45991682479387e57ac8f69a98f42e2679eb6ed5

It's limited though - due to the above clipping windows issue, I can only round the borders slightly (which is fine for me use case. Example: image

but as you can see, if you look closely, the inner corners are sharp due to the lack of window clipping.

I'd love to have proper rounded corners, as well!