gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
238 stars 14 forks source link

trigger OSD with a mouse button #54

Open jbtrystram opened 7 months ago

jbtrystram commented 7 months ago

Thanks for this excellent script :)

Would it be possible to have the OSD show up with a mouse button ? Ideally, if I would move a window using the middle click, the OSD would show, if using regular left click, no OSD. That would avoid pressing a complex shortcut while moving windows

imthenachoman commented 4 weeks ago

This would be cool. I am able to hack a solution using Solaar. I have Logitech mice. Solaar lets me map mouse clicks to keyboard shortcuts. So I have overlay show when I press ctrl+alt+shift+d and I have Solaar configured to execute those keystrokes when I click a certain button on the mouse.

What kind of mouse do you have? Anyway you can program custom shortcuts for buttons?