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

Gestures with keyboard modifiers #339

Open
oati opened this issue Aug 12, 2022 · 1 comment
Open

Gestures with keyboard modifiers #339

oati opened this issue Aug 12, 2022 · 1 comment

Comments

@oati
Copy link

oati commented Aug 12, 2022

Would it be possible to have a feature to run different commands depending on the modifier state of the keyboard?

For example, I could

  • swipe left/right to switch workspaces,
  • hold ctrl and swipe left/right to create workspaces,
  • hold alt and swipe left/right to move the focused window across workspaces,
  • hold ctrl+alt and swipe left/right to move the focused window to a new workspace
@bulletmark bulletmark changed the title Guestures with keyboard modifiers Gestures with keyboard modifiers Aug 12, 2022
@bulletmark
Copy link
Owner

You have to question whether it is sensible for a user to use their keyboard and their touch-pad to invoke an action. If they have to use the keyboard then why not just assign a keyboard shortcut for that action directly (i.e. GNOME keyboard shortcuts standard dialog)? I will leave this as an open enhancement because it is possible to implement, but I can't presently see much utility for it.

To implement this would need another attribute to be added to a gesture definition in the config file and since I unfortunately chose a very simple custom format originally then it would mean that I should change it to YAML or TOML etc. I would also have to keep compatibility with the existing format.

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

2 participants