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

New menu condition: Application under cursor #625

Open
Vermoot opened this issue Sep 20, 2024 · 1 comment
Open

New menu condition: Application under cursor #625

Vermoot opened this issue Sep 20, 2024 · 1 comment
Labels
contributions welcome It would be cool if somebody worked on this one feature request New feature or request

Comments

@Vermoot
Copy link

Vermoot commented Sep 20, 2024

Description

Hey there!

I'd love it if we could open a menu based on the application that's under the mouse cursor, not just the focused one.

I use a mouse button (mapped to a keyboard shortcut) to open Kando menus. I don't use focus-follows-mouse, but it'd be awesome if I could have my Firefox-specific menu pop up when hovering over a Firefox window, while my general menu would open over other apps.

I’ve managed to get something similar working in AwesomeWM by checking the window class under the cursor and running kando -m firefox, but it doesn't allow for the quick "hold-choose-release" way of using a menu.

Affected Desktop Environments

All

Additional Information

No response

@Vermoot Vermoot added the feature request New feature or request label Sep 20, 2024
@Schneegans
Copy link
Contributor

Thanks for the suggestion! This is a good idea and it should be possible on most platforms, I guess. However, it will not be trivial, as it will require custom functionality for each and every backend.

@Schneegans Schneegans added the contributions welcome It would be cool if somebody worked on this one label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome It would be cool if somebody worked on this one feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants