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

not detecting dnd with nodejs #2

Open
hovancik opened this issue Jul 22, 2019 · 1 comment
Open

not detecting dnd with nodejs #2

hovancik opened this issue Jul 22, 2019 · 1 comment

Comments

@hovancik
Copy link

Hi there,

I have an app that detects DND mode in macOS via https://github.com/felixrieseberg/macos-notification-state

My user is using your app to turn DND on but I does not seem to detect when it is set via your app. All works fine when DND is turned on in macOS settings.

I'm not familiar with swift, but what do you set when turning DND on?

@fuzzy76
Copy link

fuzzy76 commented Aug 26, 2019

Not familiar myself, just attempting to help out here.
The work seems to happen here: https://github.com/banderson623/SnoozeBar/blob/master/SnoozeBar/DND.swift

The commitDNDChanges() function seem to send some kind of notification of the change.

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