kando icon indicating copy to clipboard operation
kando copied to clipboard

New menu condition: Application under cursor

Open Vermoot opened this issue 1 year ago • 1 comments

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 avatar Sep 20 '24 16:09 Vermoot

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 avatar Sep 21 '24 08:09 Schneegans