Compton shadows on floating windows *only*
Hi, Long time user, always found my answers on here, or just worked it out.
So the title says it all really, as a previous post says shadows are a bit pointless on a tiler. But... on a floating window, that would look great, and help pick the window out from the existing tiles (I have just colour for a wall, right now) I don't always float, but when I do I'd like shadows!
Compton allows exclusions on WM_class, so: I have tried xprop and xwininfo to see if there is a difference between floaters as far as X is concerned. None that I can see.
Compton allows wintypes exclusions: No idea where the wintype info is, the above apps seem not to show them.
Tried googling for that but not much luck.
I have tried entering into the compton conf some guesses (float/ing/ed) for wintypes. No Joy. This maybe more of a compton question, but it does relate to i3, I think as I'm not sure if compton can pick out the floats, I can't be the only person to wish this, can I?
Anyway, thanks for listening.
If it's impossible, I'll just not bother with compton. Cheers, WuX
There is no such thing as a "floating" wintype in any spec. Your options would be to request a feature for the property in core (and try to be persuasive) or amend the ipc (add-on) interface for a "floating" event and write your own extension.
Thanks TonyC - I was hoping you'd answer this one. I had the feeling that it wouldn't be an easy fix. I might have a look at the ipc thing - see if i can work out how to do it. I'm really enjoying compton.
It's definitely possible to do, but it might take some understanding of X11. Improving compatibility with compton is definitely something I would like to work on in the future.
I also asked for this, a way to select windows by its state: "for_window [state='floating'] move to .....".
well - In the end I just disabled the shadow on my terminal windows, then it didn't look so weird but the notifications etc look nice and shadowy :)