Open nkkollaw opened 6 years ago
No, but it totally should be. Compton actually has a option for this called wintypes
where you can override fade, shadow and opacity based on window type.
So, your fork should use wintypes
as well, right..?
That would be a very nice addition to make this usable on a day-to-day basic.
Personally, I'm trying to enhance Xfce because it's nice and all, but a little animation helps a lot in figuring out what is going on with the UI.
Yes, I obviously want to integrate with existing compton features whenever possible.
...I was also thinking about the problem, and was wondering if instead of adding to Compton, it would be ppssible to create a script that works on top of Compton and just takes care of the animation..?
Not without scripting support in compton I'm afraid. Compton is using the X-server API to register as a composite manager and to do its rendering, and as far as I know X only has a C API. If slightly worse performance is acceptable to you you might like another composite manager called Ortle. Its codebase is really clean and well written, so hacking it is a breeze.
I pushed a version I made with window transitions in case you'd like to try it: https://github.com/BlackCapCoder/ortle
Ha! Yes, very cool.
It does has some problems, like my Xfce panel disappears when I launch it, but it's really cool.
I get right now there is no solution :-/
...your fork of ortle seems very promising, though. Is there any way that you know of to add shadows to that instead of fixing Compton?
Let's continue this discussion on the ortle fork: https://github.com/BlackCapCoder/ortle/issues/1
Has this issue been dropped in favor of the ortle fork? I'd still love to see this feature in your compton fork. With spawn-center disabled and transition-length turned down, compton is stable enough for me to use the features of this fork on my main laptop. However, in order for the transitions to not be annoying on things like tooltips, I'd have to turn it off for a few window classes and window_type
s.
@alexhulbert I don't think so, @BlackCapCoder was just generously trying to help me out by finding an alternative solution.
@alexhulbert No, I'll get to it eventually, but anything in compon happens at a snails pace unfortunately.
@alexhulbert : how do you do "spawn-center disabled and transition-length turned down"..?
Add it to ~/.config/compton.conf
spawn-center = false
transition-length = 150
There is also a confirmed issue if you don't have backend = "glx"
...people seem to want this feature: https://github.com/chjj/compton/issues/231/. There is also a reference to this fork :-)
All windows seem to get animated, including tooltips and other small elements that aren't properly windows.
Is there a way to specify the type of windows that get animated, being able to exclude tooltips, panels, etc.?