waydabber / BetterDisplay

Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
https://betterdisplay.pro
20.72k stars 360 forks source link

Shortcut to enable/disable displays + turn off #3605

Closed andy2002a closed 2 weeks ago

andy2002a commented 2 weeks ago

Hello, is it possible to create a shortcut that performs the following actions:

Set Monitor 1 to be main
DDC change input of monitor 2 and 3
Disconnect Monitor 2 and 3

Then the inverse

Set Monitor 2 as main
DDC change input of monitor 2 and 3
re-connect Monitor 2 and 3

All of these steps are possible through the GUI but it takes a lot of clicks to achieve.

Thanks

waydabber commented 2 weeks ago

Yes, you can use the Shortcuts app and create a Shell Script action and then use the app's CLI features for all of these.

https://github.com/waydabber/BetterDisplay/wiki/Integration-features,-CLI