rxhanson / RectanglePro-Community

Bug reports and discussion for the Rectangle Pro app
https://rectangleapp.com/pro
98 stars 1 forks source link

How to change behavior of window positions based on portrait vs landscape monitors? #219

Open tmchow opened 1 year ago

tmchow commented 1 year ago

I have 2 monitors, one in landscape and one in portrait. Default behavior works great on my landscape monitor and with this setting:

image

I'm able to easily, like on Windows (gasp!) just keep pressing the hotkey with right arrow to cycle to my right most monitor. I find that intuitive.

However, on my portrait display, I commonly use the top two thirds for a main window. However, I can't easily get that option when using hot keys unless I turn on this: image

However, then I lose the ease of moving windows.

I think a solution here is to have different behavior for portrait vs landscape so I get thirds options in windows that I don't often need on my landscape monitor.

Is there a way to do this without using different shortcut keys specific for thirds options?

rxhanson commented 1 year ago

Thanks for the feedback. I'm not sure I completely understand the issue or the desired outcome. Are you saying that you want to be able to use the same keyboard shortcut to both move between displays and cycle thirds? Maybe like the "win arrow keys" type of state machine, but for thirds instead of halves/quarters?

As for what's currently available, you could try creating a Custom Shortcut and specify repetitions in it. Here's a quick tutorial on it: https://github.com/rxhanson/RectanglePro-Community/discussions/5. That wouldn't get you a state machine like the win arrow keys, but it would give you repetitions and display selection.

tmchow commented 1 year ago

Are you saying that you want to be able to use the same keyboard shortcut to both move between displays and cycle thirds? Maybe like the "win arrow keys" type of state machine, but for thirds instead of halves/quarters?

What I was to do is press my shortcut key with right arrow , for example, and still be able to cycle it in halves on my landscape monitor, but I keep pressing the shortcuts and it then moves the window to my right (portrait monitor). On that monitor I can use shortcut and up arrow and instead of only cycling halves like it does on landscape it does halves and thirds options.

rxhanson commented 1 year ago

Thanks for the additional information. I'll look back into the win arrow keys and see what I can do there.