Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Show Enabled/Disabled in command line --list #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adzellman
Copy link

@Eun
This change adds the ability to see if a display is enabled or disabled in the --list command. This will allow users to act in a more informed way to avoid running into the problems that arise when trying to disable a disabled display or enabling an enabled display.

@adzellman
Copy link
Author

Other things to note: The project and scheme changes are just an artifact of building with a newer version of Xcode (7.3.1).

Also, https://github.com/Eun/DisableMonitor/pull/54/files#diff-8eb5caa8511e325a14c7b1512d37cc60L36 is the change in main.m, I don't know why the diff isn't showing this properly.

@adzellman
Copy link
Author

Example output:

zellman-imac2:tools zellman$ /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor --list
 ID         Name              Enabled
----------- ----------------- -------
 69678912   iMac              YES
 725376013  DELL U2410        NO
----------- ----------------- -------

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants