GitShow/sindresorhus/do-not-disturb
sindresorhus

do-not-disturb

Control the macOS `Do Not Disturb` feature

by sindresorhus
do-not-disturbmacosnodejsnpm-package
Star on GitHubFork

Swift

224 stars21 forks3 contributorsQuiet · 4y agoSince 2018v2.1.0MIT

Meet the team

See all 3 on GitHub →
sindresorhus
sindresorhus26 contributions
whitecrownclown
whitecrownclown1 contribution

Languages

View on GitHub →
Swift56.1%
JavaScript43.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 5 discussions · Last activity 4y ago
See all on GitHub →
RihardKrauz
Get DND state (as setting DND state) is not working anymore on mac os v.11 (Big Sur)OpenIssue

getDoNotDisturb is not working anymore on mac os v.11 (Big Sur) since they removed ~/Library/Preferences/ByHost/com.apple.notificationcenterui setting

RihardKrauz · 1y ago
nbashkankov
Monterey supportOpenIssue

Looks like its not working with MacOS 12.0 Monterey

nbashkankov · 4y ago
ibc
OSX Catalina: Command was killed with SIGKILL when calling doNotDisturb.isEnabled()OpenIssue

In the logs of our Electron based app, I see the following error in some users running macOS Catalina: It happens when calling .

ibc · 5y ago

Recent fixes

View closed PRs →
stvmlbrn
Electron path in developmentClosedIssue

Having some issues with the path in an electron app during development. The issue seems to be related to the line in . If I change it to it works. Maybe this would support electron with and without asar while also working in node apps?

stvmlbrn · 5y ago
megalithic
Setting `do-not-disturb off` does not reflect dnd mode being off in the menubarClosedIssue

Using newly installed instance of 10.14 (Mojave) with v0.2.0 installed, after previously setting does not seem to update the menubar icon to reflect that dnd mode is now off. I'm not sure if it actually is still on or not. It may just be that the icon isn't updating properly. Will work on verifying that. At any rate, just wanted to file this issue in the event that others are experiencing this.

megalithic · 6y ago
whitecrownclown
Add `change` event using pollingMergedPR

Relates to https://github.com/sindresorhus/caprine/pull/760 @sindresorhus Added polling implementation including readme and test updates. Please have a look!

whitecrownclown · 7y ago
Structured data for AI agents

Repository: sindresorhus/do-not-disturb. Description: Control the macOS `Do Not Disturb` feature Stars: 224, Forks: 21. Primary language: Swift. Languages: Swift (56.1%), JavaScript (43.9%). License: MIT. Topics: do-not-disturb, macos, nodejs, npm-package. Latest release: v2.1.0 (4y ago). Open PRs: 0, open issues: 5. Last activity: 4y ago. Community health: 71%. Top contributors: sindresorhus, whitecrownclown.

·@ofershap

Replace github.com with gitshow.dev