SwiftShift icon indicating copy to clipboard operation
SwiftShift copied to clipboard

Resizing from top/left

Open coreORB opened this issue 5 months ago • 4 comments

Would it be possible to add new shortcut to resize windows from top/left? Now when I want to place window in remaining space on right side of screen I have to move it, resize, check if it fits and repeat moving ad resizing. With new feature one could move window to right edge, resize from left side and done :).

coreORB avatar Jan 06 '24 11:01 coreORB

@coreORB interesting! would you like to have an option to chose "where to resize from" or both options at the same time? i.e one shortcut for bottom-right resizing and another one for top-left

pablopunk avatar Jan 06 '24 15:01 pablopunk

@pablopunk Definitely both at the same time. As I see it, we have 3 mod keys (in order): control, option and command. Shortcuts could be following: control+option - resize from left/top (as those keys are on the left side) option+command - resize from right/bottom (as those are on the right side) control+command - move window (as those keys are not used yet)

coreORB avatar Jan 07 '24 19:01 coreORB

yeah, but the app actually allows you to set any shortcut, not only modifiers (i.e ⌘+M), so the UI should be generic. I might implement a way to extend a shortcut (similar to what I'm doing in https://github.com/pablopunk/SwiftShift/pull/22) so it allows more customization. In this case it would require to allow the user to split a shortcut into 2 (left-top resizing vs right-bottom)

pablopunk avatar Jan 14 '24 17:01 pablopunk

Sure, more customization is always welcomed ;). I wrote about shortcuts, because I'm currently using two of those and find them intuitive. IMO third one would complete it nicely and those would make great defaults.

coreORB avatar Jan 14 '24 17:01 coreORB