Choose desired resolutions (use displayplacer for extra resolutions).
Drag the white bar to your desired primary screen.
Arrange screens as desired and/or enable mirroring. To enable partial mirroring hold the alt/option key and drag a display on top of another.
Use displayplacer list to print your current layout's args so you can create profiles for scripting/hotkeys with Automator, BetterTouchTool, etc.
Notes:
*displayplacer list and system prefs only show resolutions for the screen's current rotation.
Use an extra resolution shown in displayplacer list by executing displayplacer "id:<screenId> mode:<modeNum>"
Rotate your internal MacBook screen by executing displayplacer "id:<screenId> degree:<0/90/180/270>"
The screen set to origin (0,0) will be set as the primary screen (white bar in system prefs).
The first screenId in a mirroring set will be the 'Optimize for' screen in the system prefs. You can only choose resolutions for the 'Optimize for' screen. If there is a mirroring resolution you need but cannot find, try making a different screenId the first of the set.
hz and color_depth are optional. If left out, the highest hz and then the highest color_depth will be auto applied.
Persistent screen ids always stay the same. Contextual screen ids change when switching GPUs or when switching ports. It's recommended to use persistent screen ids. In some rare cases, you may need to use contextual screen ids since the modes list changes when macOS switches GPUs.
Feedback:
Please create a GitHub Issue for any feedback, feature requests, bugs, Homebrew issues, etc. Happy to accept pull requests too!
请发表评论