rxhanson / RectanglePro-Community

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

Custom rule behaviour based on the display size #357

Open igorwojda opened 1 year ago

igorwojda commented 1 year ago

Let's consider this common setup - The user has a Laptop (small screen) and an external monitor (large screen)

I would like to be able to define a list of displays by given criteria. This could be the specific system-derived name ("Macbook screen"), resolution, or its properties (display with width < 3546) and use different rules for a given display

Consider this scenario where each action behaves differently based on the current screen (screen the windows is at). We have 5 actions:

And here is the desired sizing and positioning for each screen:

image

As an implementation idea, we could add constraints to each custom rule (use one of the displayed defined above)

image
rxhanson commented 1 year ago

Thanks for the feedback. Display relative (and current window size/pos relative) shortcut parameters are on my backlog and I just haven't made it to them yet.

Coder84619 commented 1 year ago

Along with display relative parameters, I'd also love to see display specific/aware app layouts. At home I have a single 39" ultra wide, while at work I have dual 24" monitors. I'd love Rectangle Pro to detect my monitor configuration/size and then know which app placement to trigger/use.