Command: notificationcenter
Manage the macOS Notification Center.
Usage
Usage: m notificationcenter [OPTION]
Description: Manage the macOS Notification center
Options:
--help Show this help message
--status Show the current status of the notification Center
--enable Enable the notification Center
--disable Disable the notification Center
Note: Changes made with this command may require a system restart to take full effect.
Options
--status
Checks whether the Notification Center process is currently running.
Example:
m notificationcenter --status
# Output: Notification Center: enabled
--enable
Enables the Notification Center by loading its launchctl
service.
Example:
m notificationcenter --enable
--disable
Disables the Notification Center by unloading its launchctl
service. This will prevent notifications and the Today View from appearing.
Example:
m notificationcenter --disable