display-switch
display-switch copied to clipboard
Skip Display Check on MacOS m1 so custom comamnd can run regardlessly
This is based on https://github.com/haimgel/ddc-macos-rs/issues/2#issuecomment-1356873695. A futher improvement can be made to use m1ddc
as external command to gather display info.
Thanks, I was able to get it working on my m2 mac with this PR.
Instead of m1ddc
I used Lunar (as I already have it installed) with this config:
usb_device = "1a40:0101"
on_usb_connect_execute = "lunar displays external input displayport1"
on_usb_disconnect_execute = "lunar displays external input hdmi1"