A homebrew tap for installing DisplayModeSwitcher.
At first, you should add this tap as:
$ brew tap bellbind/displaymodeswitcher
Then, build and install the DisplayModeSwicther.app as:
$ brew install displaymodeswitcher
$ ln -sf /usr/local/opt/displaymodeswitcher/DisplayModeSwitcher.app ~/Applications/
Or the hidden API version as:
$ brew install --devel displaymodeswitcher
$ ln -sf /usr/local/opt/displaymodeswitcher/DisplayModeSwitcher.app ~/Applications/
NOTE: for convert PNG from SVG, qlmanage
command is required outside of sandbox.