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

Do Not Disturb not working with MacOS 13 #126

Open
TheSkyentist opened this issue Sep 6, 2023 · 1 comment
Open

Do Not Disturb not working with MacOS 13 #126

TheSkyentist opened this issue Sep 6, 2023 · 1 comment

Comments

@TheSkyentist
Copy link

The appearance of the do not disturb icon does work in macOS Ventura 13.5.1.
I believe this is due to the way Focus Modes are accessed in src/misc/dnd.c.
I'm not proficient enough in C or Swift to figure out how to fix this, but I believe the following might be helpful.
The following snippet returns a boolean 0 or 1 depending on whether or not a Focus mode is active: defaults read com.apple.controlcenter "NSStatusItem Visible FocusModes".
Perhaps this can be adapted into dnd.c?

@jessebraham
Copy link

This also appears to be the case in Sonoma (14.x.x).

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

2 participants