cmer / lg-tv-control-macos

Automatically wake/sleep and change the input of your LG TV when used as a monitor on macOS
129 stars 13 forks source link

Disable turn off TV #23

Closed rumym closed 9 months ago

rumym commented 1 year ago

I use a KVM switch and when I switch from computer 1 to computer 2 and computer 1 goes to sleep it turns off the TV as they both run on the same input. Is there a way to disable turning off the TV when Mac goes to sleep?

cmer commented 9 months ago

Just comment out this line exec_command(screen_off_command) and it won't turn off.