pablopunk / SwiftShift

Sweet window management for macOS
https://swiftshift.app
MIT License
216 stars 9 forks source link

Allow adding mouse buttons to shortcuts #16

Closed xezrunner closed 2 months ago

xezrunner commented 8 months ago

This is a feature request.

It would be very convenient to allow adding a mouse button next to modifier keys for initiating the move and resize actions.

This would replicate the same behavior as it is on Linux, where holding the Meta (or sometimes Alt) key and dragging with either the left, right or middle mouse buttons initiates the move and resize actions. AltSnap (Windows) also replicates this behavior.

An intuitive way I thought of is if during editing a shortcut, the user could hold a modifier key (such as Command), then click the desired mouse button (such as the left mouse button) while pointing into the shortcut field.

image
pablopunk commented 7 months ago

hey! Thanks for the request! That's interesting, I might try to implement it. I think UI-wise I could keep it simple and add a dropdown on each shortcut for Mouse: none|left|right

Designator-Ol commented 5 months ago

Do you still plan on integrating that feature and if so do you have an ETA ?

Greetings, Desi

pablopunk commented 2 months ago

@Designator-Ol @xezrunner @JanKoppe @dayfuaim Done. It's already available on 0.25.0