Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create autolight.ventura.sh #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamesagarside
Copy link

Added script for Ventura

Added script for Ventura
#!/bin/bash

# Begin looking at the system log via the steam sub-command. Using a --predicate and filtering by the correct and pull out the camera event
log stream --predicate 'subsystem == "com.apple.cmio" and composedMessage contains "streaming for client"' | while read line; do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it's more or less efficient, but I also found success with "composedMessage CONTAINS "Power" AND composedMessage CONTAINS "Camera" AND sender == "appleh13camerad"" FWIW.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this comment, I would imagine the differences are negligible. Have you tested on Sonoma?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants