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

remove blur from conky #53

Open
Rodrigo-Barros opened this issue Dec 26, 2020 · 4 comments
Open

remove blur from conky #53

Rodrigo-Barros opened this issue Dec 26, 2020 · 4 comments

Comments

@Rodrigo-Barros
Copy link

Rodrigo-Barros commented Dec 26, 2020

Desktop: i3
Hi first of all I want to thank you for made this awesome program free, so let's go.
I have some conky scripts configured and I would like that conky stay transparent and do not apply blur. I want blur only my terminal.
So what I did to try achieve this?
I tried add in
blur-background-exclude=["class_g = 'Conky' ", "i:e:Conky"]; but without success, blur on conky scripts still there.
I suspect that the problem may reletated with conky because to display windows nicely in i3 I set window_type=override for all my conky scripts, and when I try search with xdotool the 'Conky' classname nothing returns to me in terminal, any tips to solve this???

@tryone144
Copy link
Owner

I'm not sure, but conky might use the lowercase conky for its classname. You can try with ? for case-insensitive matching:

blur-background-exclude = [ "class_g ?= 'conky' || class_i ?= 'conky'" ];

Does xprop give you any output for the conky windows with override set?
Alternatively, you should be able to exclude all override-redirected windows with

blur-background-exclude = [ "override_redirect = true" ];

@Rodrigo-Barros
Copy link
Author

Hi I tried both configs,
blur-background-exclude = [ "class_g ?= 'conky' || class_i ?= 'conky'" ];
don't works for me.

blur-background-exclude = [ "override_redirect = true" ];
The second works for conky windows but also eliminates blur from my terminal.
my opacity-rule for my terminal as follow:
opacity-rule = [ "80:class_g = 'kitty'" ];

Does xprop give you any output for the conky windows with override set?

Just print info about my window manager, short example:

_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x220000b, 0x1600003, 0x2a0000b, 0x1e0000b, 0x2e0000b
_NET_DESKTOP_NAMES(UTF8_STRING) = "1", "2:web", "3:dev", "4:chat", "6:music"
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

I tried this to locate my conky window: xdotool search --any "^[c|C]onky" , but not output anything helpful.

@tryone144
Copy link
Owner

It's been quite some time since I've used conky myself. You may try extending your conky config with own_window_class = 'Conky' (IIRC). I'm not sure if this works well together with own_window_type ='override'.
Unfortunately there is little compton can do unless conky provides some (unique) identifying information for its window.

@Rodrigo-Barros
Copy link
Author

Hi I already tried as you say:

You may try extending your conky config with own_window_class = 'Conky' (IIRC).

But not works to me, maybe could be the behaviour of conky that do not allow works this way.
I will try get support in conky community around this issue, but one question: could you add an blur-background-rule like opacity-rule? I don't remember but I think there is a issue with this question too.

ps: happy new year.

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

2 participants