display-switch icon indicating copy to clipboard operation
display-switch copied to clipboard

Skip Display Check on MacOS m1 so custom comamnd can run regardlessly

Open lazywei opened this issue 1 year ago • 1 comments

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.

lazywei avatar Feb 12 '24 19:02 lazywei

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"

jglamine avatar Apr 09 '24 15:04 jglamine