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

Allow to display any animation on SEND_KEYS/RUN_COMMAND #505

Closed
JoseExposito opened this issue Jun 16, 2021 · 0 comments
Closed

Allow to display any animation on SEND_KEYS/RUN_COMMAND #505

JoseExposito opened this issue Jun 16, 2021 · 0 comments
Milestone

Comments

@JoseExposito
Copy link
Owner

At the moment, the actions SEND_KEYS and RUN_COMMAND don't display an animation because they are generic and we can't know in advance which animation makes sense.

Create a class that inherits from AnimatedAction that in addition to add the animate, color and borderColor options adds a fourth one (animation) that allows to set a custom animation, or NONE.

For example:

    <gesture type="SWIPE" fingers="3" direction="LEFT">
      <action type="SEND_KEYS">
        <modifiers>Alt_L</modifiers>
        <keys>Left</keys>
        <animation>ARROW_WINDOW_LEFT</animation>
      </action>
    </gesture>

This action could be used to go back in Firefox/Chrome and display an arrow animation (similar to CHANGE_DESKTOP) on the left of the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant