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

Workflow doesn't run if kCFPreferencesAnyApplication β†’ AppleInterfaceStyle is nil + Use System Setting is selected for Color Scheme #14

Open
luckman212 opened this issue Oct 24, 2023 · 0 comments

Comments

@luckman212
Copy link

Hey @stephancasas πŸ‘‹ I'm on Sonoma 14.1 (23B73) RC. First time I ran the Workflow, it errored out with:

screenshot_rli69FPl

image

Was easy to guess the problem, on my system AppleInterfaceStyle doesn't seem to exist in my NSGlobalDomain. Even manually setting it to "Dark" and then back to "Light" in Sysprefs didn't change things:

$ defaults read -g AppleInterfaceStyle
2023-10-24 08:38:42.826 defaults[65397:6990884]
The domain/default pair of (kCFPreferencesAnyApplication, AppleInterfaceStyle) does not exist

So, I set the Workflow manually to "Light" and it works great (amazing workflow btw πŸŽ‰ ) Seems like this is the same problem... maybe you can trap for that and avoid the error?

Here's my System Settings β†’ Appearance btw

screenshot_g7TG1LXS

@luckman212 luckman212 changed the title Missing kCFPreferencesAnyApplication AppleInterfaceStyle if Use System Setting is selected for Color Scheme Workflow doesn't run if kCFPreferencesAnyApplication β†’ AppleInterfaceStyle is nil + Use System Setting is selected for Color Scheme Oct 24, 2023
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

No branches or pull requests

1 participant