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

[Request] Use a blacklist (apply to everything option) #4

Open
RaitaroH opened this issue Jun 12, 2019 · 4 comments
Open

[Request] Use a blacklist (apply to everything option) #4

RaitaroH opened this issue Jun 12, 2019 · 4 comments

Comments

@RaitaroH
Copy link

I am aware how the script works, but I would love if it would be a setting to apply this to everything and have a blacklist, instead of having a whitelist. I have added mostly everything but when I install something new I always forget about the script, and my biggest gripe is context menus in non-qt applications such as firefox (well, waterfox). Under desktop effects I can set up Menu, Dialogs, Combobox popups transparency yada yada, so I can have the context menus actually transparent, but I have no idea what to add the config file to make this work.
Now, the context menus do not have some PID obviously, but is there a way to affect them? If you think about it, kwin does know about them so there must be a way to make them blurry on top of making them transparent.

@aaronm-cloudtek
Copy link
Contributor

Hi RaitaroH, I have an open pull request #3 which implements the blacklist functionality you are looking for

@RaitaroH
Copy link
Author

@aaronm-cloudtek Seems to work quite well, thank you, with the only thing being I had to restart kwin for the script to take effect.
I also want to know if you think it would be possible to blur stuff like rofi or gtk context menus?

@aaronm-cloudtek
Copy link
Contributor

Glad to hear it's working for you.

I also want to know if you think it would be possible to blur stuff like rofi or gtk context menus?

Not sure about this one, sorry. Maybe @esjeon has a better idea.

@esjeon
Copy link
Owner

esjeon commented Jun 23, 2019

Both rofi and gtk context menus are not "normal" (as in _NET_WM_WINDOW_TYPE_NORMAL). I cannot test this right now, but KWIn skips some non-normal windows when listing windows. You clearly don't want to see context menus in a list of windows.

It will be impossible to blur context menus for this reason.

For Roki to work with this script, it should properly populate its _NET_WM_STATE, or KWin keep ignoring its window. Currently, it looks like this:

_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE

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

3 participants