tryone144 / compton

A compositor for X11.
Other
617 stars 235 forks source link

remove blur from conky #53

Open Rodrigo-Barros opened 3 years ago

Rodrigo-Barros commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.