Giter Site home page Giter Site logo

Comments (4)

peterklijn avatar peterklijn commented on June 30, 2024

Hi Winni,

That's a good idea! There's a few concerns that come to mind.

  1. I think the default behaviour should stay as close to ShiftIt as possible, so perhaps it can be made configurable.

    Perhaps one can configure a grid, like number of rows & number of columns, which defaults to 4.

  2. I assume you use the ctrl(^) + alt(⌥) + cmd(⌘) + <arrow> for snapping, how would you snap to the middle columns?

ctrl(^) + alt(⌥) + cmd(⌘) + left would do:
+---+---+---+
|XXX|   |   |
+XXX+---+---+
|XXX|   |   |
+---+---+---+

ctrl(^) + alt(⌥) + cmd(⌘) + up would do:
+---+---+---+
|XXX|XXX|XXX|
+---+---+---+
|   |   |   |
+---+---+---+

But what about:
+---+---+---+
|   |XXX|   |
+---+XXX+---+
|   |XXX|   |
+---+---+---+

Or about bigger grids:
+---+---+---+---+   +---+---+---+---+
|   |XXX|   |   |   |   |   |   |   |
+---+XXX+---+---+   +---+---+---+---+
|   |XXX|   |   |   |XXXXXXXXXXXXXXX|   etc..
+---+XXX+---+---+   +---+---+---+---+
|   |XXX|   |   |   |   |   |   |   |
+---+---+---+---+   +---+---+---+---+
  1. I guess the cmd + option + ctrl + <number> would just increment, but also here you'd run out of numbers:
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
| 4 | 5 | 6 |
+---+---+---+

+---+---+---+---+
| 1 | 2 | 3 | 4 |
+---+---+---+---+
| 5 | 6 | 7 | 8 |
+---+---+---+---+
| 9 |   |   |   |
+---+---+---+---+

What do you think?

from hammerspoon-shiftit.

winni2k avatar winni2k commented on June 30, 2024

What I like about ShiftIt is that it is simple and does (almost) everything I need, but not much more. I think implementing 3. would solve my issue sufficiently for me to move on with my life. Regarding 3.: If you run out of numbers, then you could always use letters as well...

  1. is an interesting consideration, but I don't think that solving 2. would lead to a design that is easy to use 🤷

from hammerspoon-shiftit.

peterklijn avatar peterklijn commented on June 30, 2024

Hi @winni2k,

The new version of Hammerspoon-ShiftIt is released and supports multiple cycling window sizes! Perhaps this helps with your use case.

You can download the latest spoon (https://github.com/peterklijn/hammerspoon-shiftit/releases/latest) and config it by following the documentation in the readme (https://github.com/peterklijn/hammerspoon-shiftit#configure-multiple-window-cycle-sizes).

from hammerspoon-shiftit.

winni2k avatar winni2k commented on June 30, 2024

Excellent! Thanks!

from hammerspoon-shiftit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.