├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── binding.gyp ├── ensure-sdk.js ├── index.d.ts ├── lib ├── dnd │ ├── bigsur-macos-dnd.h │ ├── bigsur-macos-dnd.mm │ ├── monterey-macos-dnd.h │ ├── monterey-macos-dnd.mm │ ├── old-macos-dnd.h │ └── old-macos-dnd.mm ├── do-not-disturb.h ├── do-not-disturb.mm ├── focus-center.mm ├── index.js ├── macos-version.h ├── macos-version.mm ├── notificationstate-query.cc ├── notificationstate-query.h └── notificationstate.cc ├── package.json ├── test ├── benchmark.js └── test.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/.npmignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/binding.gyp -------------------------------------------------------------------------------- /ensure-sdk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/ensure-sdk.js -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/index.d.ts -------------------------------------------------------------------------------- /lib/dnd/bigsur-macos-dnd.h: -------------------------------------------------------------------------------- 1 | bool getBigSurMacOSDND(); -------------------------------------------------------------------------------- /lib/dnd/bigsur-macos-dnd.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/dnd/bigsur-macos-dnd.mm -------------------------------------------------------------------------------- /lib/dnd/monterey-macos-dnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/dnd/monterey-macos-dnd.h -------------------------------------------------------------------------------- /lib/dnd/monterey-macos-dnd.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/dnd/monterey-macos-dnd.mm -------------------------------------------------------------------------------- /lib/dnd/old-macos-dnd.h: -------------------------------------------------------------------------------- 1 | bool getOldMacOSDND(); -------------------------------------------------------------------------------- /lib/dnd/old-macos-dnd.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/dnd/old-macos-dnd.mm -------------------------------------------------------------------------------- /lib/do-not-disturb.h: -------------------------------------------------------------------------------- 1 | bool getDoNotDisturb(); -------------------------------------------------------------------------------- /lib/do-not-disturb.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/do-not-disturb.mm -------------------------------------------------------------------------------- /lib/focus-center.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/focus-center.mm -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/macos-version.h: -------------------------------------------------------------------------------- 1 | int getOSVersion(); -------------------------------------------------------------------------------- /lib/macos-version.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/macos-version.mm -------------------------------------------------------------------------------- /lib/notificationstate-query.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/notificationstate-query.cc -------------------------------------------------------------------------------- /lib/notificationstate-query.h: -------------------------------------------------------------------------------- 1 | int queryUserSessionState(); 2 | -------------------------------------------------------------------------------- /lib/notificationstate.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/lib/notificationstate.cc -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/package.json -------------------------------------------------------------------------------- /test/benchmark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/test/benchmark.js -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/test/test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felixrieseberg/macos-notification-state/HEAD/yarn.lock --------------------------------------------------------------------------------