A macOS command line tool to manage an arrangement and configuration of your displays. A minimalistic alternative and direct derivative of (apparently) no longer maintained displayplacer.
-
Go to System Preferences > Displays. Arrange your displays as desired.
-
Save your current display configuration by running:
macd save-configuration <name>
-
Repeat steps 1-2 for every display configuration you need.
-
Apply any saved configuration by running:
macd apply-configuration <name>
Configurations can be also edited manually via ~/.macd.json file.
macd list-displays- list online displays and their properties (origin, width, height, is built-in, is main).macd list-configurations- list saved configurations.macd save-configuration <name>- save the current configuration of displays under<name>.macd apply-configuration <name>- apply the saved configuration.
brew install kamilturek/tap/macdmakePlease create a GitHub issue for any feedback, bugs, feature requests or issues. PRs are also welcome.