Skip to content

A macOS command line tool to manage an arrangement and configuration of your displays.

Notifications You must be signed in to change notification settings

kamilturek/macd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A macOS command line tool to manage an arrangement and configuration of your displays.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project