pablopunk / SwiftShift

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

What about... 9️⃣ quadrants? 😁 #51

Closed roelvangils closed 3 weeks ago

roelvangils commented 3 weeks ago

https://github.com/pablopunk/SwiftShift/assets/103744/1e6cdb65-7c3b-4f10-a4b6-b8066074f57e

roelvangils commented 3 weeks ago

When your mouse pointer is in one of these quadrants and you start moving it while holding the specified modifier keys for resizing:

(And the rest is self-explanatory)

What do you think?

danini-the-panini commented 3 weeks ago

This matches functionality in most Linux floating window managers, and AltSnap on windows

roelvangils commented 3 weeks ago

This matches functionality in most Linux floating window managers, and AltSnap on windows

Really? I didn't even know! 😆

pablopunk commented 3 weeks ago

@roelvangils that's fair, I was lazy to implement it like that at the first try.

But honestly I've just wrote your description to ChatGPT with my code attached and it made all the changes (and it works, first try 🥳)

I'll make a PR now with the new changes. BTW how did you create that animation? I'd love to showcase it in swiftshift.app, and I would love a light background alternative too 🌝

https://github.com/pablopunk/SwiftShift/assets/4324982/2699bcf9-3fbf-49b7-bf2d-d3181fd357f8

pablopunk commented 3 weeks ago

Released in 0.25.0

roelvangils commented 3 weeks ago

But honestly I've just wrote your description to ChatGPT with my code attached and it made all the changes (and it works, first try 🥳)

Amazing! Yes, these are the things LLMs are so good at..

I'll make a PR now with the new changes.

Just installed the update. Works like a charm! 😻

BTW how did you create that animation? I'd love to showcase it in swiftshift.app, and I would love a light background alternative too 🌝

I used Apple Keynote for that. Your website already looks quite nice, but feel free to use it! Or, let me know which background and/or colors you prefer, and I'll create a nicer version of the animation (including dark and light modes) as a way to thank you for implementing my feature request.

pablopunk commented 3 weeks ago

Just installed the update. Works like a charm! 😻

I'm glad!

I used Apple Keynote for that

lol that's awesome, I've never thought about using it for animations. I might give it a try. If you feel like doing it, just do something that makes sense for the style of swiftshift.app, even tho the design is all over the place right now 😅

pablopunk commented 1 week ago

I ended up creating the animations with Figma and they turned out ok

https://github.com/pablopunk/SwiftShift/assets/4324982/ac263df3-0868-41a6-b528-a423653d1e4b

Not really showcasing the 9 quadrants but it's good enough

roelvangils commented 1 week ago

That looks great! Sorry for not following up on my suggestion to create it for you! Time.... 😉

pablopunk commented 1 week ago

@roelvangils no worries! I'm also struggling to find time for this project 😓