Configuration profile for managing multi monitor display

applescriptdisplaysystem-prefs

I am not sure how exactly to phrase this, but wondering if there is a way to manage the display preference and monitor arrangement with a unique profile on macOS?

The problem is, I have a home and office multi monitor setup but the specific monitors are arranged different in each environment. So when I move the laptop between work and home the display arrangement is all confused and I have to manually change in display preferences.

+------------+ +----+ |  +----+ +------------+
|            | |    | |  |    | | 4K Dell    |
| TB Display | | 4K | |  | TB | |            |
+------------+ |DELL| |  |    | +------------+
   +------+    |    | |  |    |  +--------+
   | MBP  |    +----+ |  +----+  | MBP    |
   +------+           |          +--------+
   +------+           |          +--------+
                      |
    Home Setup        |   Work Setup
                      |
                      +

Because of specific physical constraints I am unable to change the physical layout of the monitors. macOS seems to automatically detect by monitor type.

I am wondering if there is a software configuration and profile I could create to manage this? For example, tell the system when at home the TB Display is on the left and horizontally oriented, but at work it is on the right and vertically oriented, etc..

Is there an app or AppleScript technique that manages this?

Best Answer

The best I've been able to find that does this is SwitchResX, To get what you're asking for, I believe you would set up a display set for your home and work environment. SwitchResX also advertises that it can be controlled via AppleScript.