objective-see / objective-see/DoNotDisturb
Show notification regardless of macOS' DND setting
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 330
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Note: Please don't confuse macOS notification center's "DND" mode with objective-see's "DoNotDisturb" application in this issue!
MacOS does not show notifications when DND mode is enabled, which is reasonable, but sometimes it makes sense to ignore it. I think DoNotDisturb is one such case, as notifications usually show up when you just logged in. It could be an option in the settings if people don't want notifications to show up.
There's a _ignoresDoNotDisturb option for NSUserNotification (which does not seem to be documented).
Here's an example using julienXX/terminal-notifier:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where DoNotDisturb creates macOS notifications and where its settings are defined. Check how NSUserNotification handles the undocumented _ignoresDoNotDisturb option, then verify that notifications appear while macOS DND is enabled and that users can choose whether to override it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, objective-c
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100