esjeon / kwin-forceblur

Force-enable blur effect to user-specified windows
MIT License
157 stars 7 forks source link

Question about Dolphin and other apps #1

Open vmorenomarin opened 5 years ago

vmorenomarin commented 5 years ago

Hi, excellent work. The script works fine with Yakuake? How to set up it to works with Dolphin? I did add several window class name but does not work. image Is there way to add blur effect without constraining the general opacity of the window, i.e., icons, fonts, etc.?

Thanks by your attention and for sharing!

esjeon commented 5 years ago

How to set up it to works with Dolphin? I did add several window class name but does not work.

The thing is that, whenever you change settings, you MUST restart the script. This is the limitation of KWin scripting environment, where scripts cannot see changes in script settings.

Is there way to add blur effect without constraining the general opacity of the window, i.e., icons, fonts, etc.?

What you're looking for is Kvantum. It supports themes with transparent background for any apps. Since kvantum enables blur for most of the windows, you won't have to add all those apps to the settings.

RaitaroH commented 5 years ago

@vmorenomarin I have wrote a tutorial just for you. TL;DR you must make windows transparent to make them blury with this script, otherwise you need Kvantum. https://userbase.kde.org/Tutorials/Force_Transparency_And_Blur

rulatir commented 3 years ago

Given that non-100% opacity is absolutely necessary for the blur effect to kick in, can this script be fixed to also automatically force opacity 99% (if no other rule governing opacity is in effect)? Otherwise it is necessary to configure every window class in two places: first in KWin rules to set opacity to 99%, and then in Force Blur to enable blur.