Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.23 KB

Mac Display Utility

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.

Usage

  1. Go to System Preferences > Displays. Arrange your displays as desired.

  2. Save your current display configuration by running:

    macd save-configuration <name>
  3. Repeat steps 1-2 for every display configuration you need.

  4. Apply any saved configuration by running:

    macd apply-configuration <name>

Configurations can be also edited manually via ~/.macd.json file.

Commands

  • 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.

Installation

brew install kamilturek/tap/macd

Compilation

make

Contribution

Please create a GitHub issue for any feedback, bugs, feature requests or issues. PRs are also welcome.