Skip to content

Instantly share code, notes, and snippets.

@ssbozy
Last active June 16, 2017 22:47
Show Gist options
  • Save ssbozy/17e07e7c9edc30de0fd65dd2ccfd0085 to your computer and use it in GitHub Desktop.
Save ssbozy/17e07e7c9edc30de0fd65dd2ccfd0085 to your computer and use it in GitHub Desktop.

#To hide notification icon

* launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
* killall NotificationCenter

#To show notification icon

* launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
* Hit Command+Shift+G and go to /System/Library/CoreServices/ 
* find “Notification Center” and double-click it to launch it again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment