Bismuth-Forge / bismuth

KDE Plasma add-on, that tiles your windows automatically and lets you manage them via keyboard, similarly to i3, Sway or dwm.
https://bismuth-forge.github.io/bismuth/
Other
2.4k stars 94 forks source link

[FEATURE]: rounded corners in bismuth provided decorations #457

Open Aneeqasif opened 1 year ago

Aneeqasif commented 1 year ago

Summary

rounded corner support for bismuth window decorations

A clear and concise description of what you want to happen

same as above

A clear and concise description of any alternative solutions or features you've considered.

No response

Additional info

No response

Elfahor commented 1 year ago

Hello, I have hacked together an implementation of this, since I missed it too.

It is available in my fork. However, I don't know anything about KDE APIs and stuff, so I don't know how to add a configuration option for this. Right now a value of 5px is hard-coded. But it works.

Elfahor commented 1 year ago

I'd like some help from the devs to make this more usable. :)

Aneeqasif commented 1 year ago

I'd like some help from the devs to make this more usable. :)

can u plz post some screenshots ? or may be add it to fork readme

Elfahor commented 1 year ago

There you go, sorry for late reply. Screenshot_20230219_155056 The weird transparency and spacing started happening after restarting KWin too many times :)

Aneeqasif commented 1 year ago

There you go,

this is awesome work buddy, i hope it get merged into mainstream version, u should submit a pr

Elfahor commented 1 year ago

I would, but right now the value is hard coded, which is not great... I'd need someone who knows about KDE APIs to help me.

Aneeqasif commented 1 year ago

This may take some time as i havent seen any major contribution to this project from past couple of months , devs may be buzy

Elfahor commented 1 year ago

Update: Okay so when I wanted to take the screenshot I decided to increase the radius from 5 to 10 px to make it more visible. But after that it was kinda broken: basically it would either be no rounding or a full ellipse. Not understanding why, I decided to try it on X11 (I used Wayland originally). Works flawlessly. Relieved, I send a screenshot.

Now yesterday I boot up my laptop on which I had copied my KDE config (I only switched from standalone tiling WMs last week actually). What to I see on X? Perfect rounded corners. Thing is, I don't think the Bismuth version I'm using is the tweaked one! So is this just a Wayland bug ?

Could you please tell me if you're using X or Wayland? If the latter, could you please give X11 a try? This is pretty weird and I would like a confirmation.