Giter Site home page Giter Site logo

Comments (10)

allusive-dev avatar allusive-dev commented on May 25, 2024

Hey @daricoder
I assume you mean the animations of windows when you are say switching them between layouts or monitors or dragging them, those being the animating of movement updates?

from compfy.

daricoder avatar daricoder commented on May 25, 2024

Sorry for the delay 🙃 .
Ehmm no 🤔,
I mean that you can exclude smooth movement for certain types of windows. Just like the animations of opening (animation-open-exclude) and closing (animation-unmap-exclude) of windows, the same would be filtering the animation of smoothness but for the movement of windows.

Certain windows have animations created by rubato and these animations worked well since picom did not include animations. Now the rubato animation doesn't look good because it interferes with the compfy motion animation as I use rubato to interpolate the window motion. I think it would be nice if you could exclude the motion animation for certain window types letting the user create their own animations.

The animation I use is rubato's bouncy -> search for bouncy

from compfy.

allusive-dev avatar allusive-dev commented on May 25, 2024

@daricoder
If you are just looking to exclude open and unmap animations take a look at this page in the wiki.

If you are looking for something else please let me know.

from compfy.

daricoder avatar daricoder commented on May 25, 2024

Yes, I just edited my previous comment.
What I am asking is to exclude the window movement animation (not open or close animation) to be able to let users define their own movement animation. In my case I use a notification window that has a motion tweening animation and it interferes with the smooth motion of compfy.

from compfy.

allusive-dev avatar allusive-dev commented on May 25, 2024

let users define their own movement animation.

Hm.
So let users declare their own animations (for open/unmap) using a custom syntax?

from compfy.

daricoder avatar daricoder commented on May 25, 2024

I would suggest that smooth motion can be disabled for certain types of windows. Something like "animation-move-exclude" This way it allows the user to decide whether to create their own animations with their own libraries or use compfy's smooth motion animation.

from compfy.

daricoder avatar daricoder commented on May 25, 2024

Maybe in the future you could see the best way to map the open and close animations (zoom, slide-up, etc.). It would be something like renaming "animation-for-open-window" to "animation-default-open-window" and the old "animation-for-open-window" to map animations to windows like:
animation-for-open-window = ["class_g:slide-left = 'Rofi'", ];
I don't know these are just some ideas lol.

from compfy.

allusive-dev avatar allusive-dev commented on May 25, 2024

I would suggest that smooth motion can be disabled for certain types of windows.

I'm not sure what the difference between that and animations as a whole is?

animation-for-open-window = ["class_g:slide-left = 'Rofi'", ];

This is not possible at the moment I have tried in. Passing a string into a string with a entptr being : is beyond my knowledge currently.

from compfy.

daricoder avatar daricoder commented on May 25, 2024

I'm not sure what the difference between that and animations as a whole is?

animations=true enables animations for both opening, closing, moving and resizing windows.

You already exclude the animations for opening and closing windows with
animation-open-exclude and animation-unmap-exclude but you do not exclude the animation for their movement. If you disable or exclude the animation for movement then you will let the user implement their own movement animation so that it does not interfere. In my case, I have some windows that work as widgets and have their own movement animation where compfy interferes.

from compfy.

allusive-dev avatar allusive-dev commented on May 25, 2024

I see. I'll take a look into it.

from compfy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.