kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
2.65k stars 78 forks source link

New menu condition: Application under cursor #625

Open Vermoot opened 1 week ago

Vermoot commented 1 week ago

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

Schneegans commented 1 week ago

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.