Decorator for registering a function to serve as a “notification center” for the application. This function will receive the data associated with an incoming OS X notification sent using
rumps.notification(). This occurs whenever the user clicks on a notification for this application in the OS X Notification Center.
@rumps.notifications def notification_center(info): if 'unix' in info: print 'i know this'