Closed D3SOX closed 3 months ago
Yes, I'll start working on it later today. I'll also try to make it a plugin instead of a fork.
Sounds great, thank you! Really missing this after upgrading from 5.27 (X11) to 6.0.1 (Wayland)
The blur region can be specified in the kwin_blur
property of QWindow
and that would be the best approach, since it would also work with any fork of the blur plugin, such as LightlyShaders. I spent a few hours trying to set it but it just wouldn't work for some reason.
if (auto internal = w->internalWindow()) {
internal->setProperty("kwin_blur", w->rect().toRect());
}
So I forked the whole blur plugin instead. The plugin is called Blur+ and can be found in Desktop Effects. Any other blur effects should be disabled, otherwise blur may be applied twice.
I've pushed it to the plugin
branch, but it's still work in progress and decoration blurring doesn't work yet. I also only tested it on 6.0.0, since 6.0.1 isn't available yet in nixpkgs. For building instructions see https://github.com/a-parhom/LightlyShaders/tree/plasma6.
Works perfectly fine for my usecase (on 6.0.1), thank you!
I created an initial AUR package as I don't like when something isn't managed via package manager
Here are the changes I've made recently:
Force Blur
(your configuration won't reset)Great work, will update the package accordingly
Updated the git package and created one for releases: https://aur.archlinux.org/packages/kwin-effects-forceblur
This effect doesn't conflict with LightlyShaders. LightlyShaders provides two effects: a fork of the blur effect that doesn't have the corner bug (this is the one it conflicts with), and an effect that rounds the corners of the window (no conflicts with this one).
Thanks for the heads-up, will remove the conflict
Can this be ported to Plasma 6?