From cae4f4a81be1cc05dc2bd4a28093384db96bd32b Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Wed, 23 Sep 2015 22:18:00 +0200 Subject: [PATCH] Add Notification Center snippet --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 905e037..50df7a5 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,12 @@ cat whatever.txt | pbcopy pbpaste > whatever.txt ``` +### Disable/enable Notification Center +```bash +launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && killall -9 NotificationCenter +launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist +``` + ### Eject all mountable volumes ```bash osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)'