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).
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 forNSUserNotification
(which does not seem to be documented).Here's an example using julienXX/terminal-notifier: