The Do not disturb mode of Mac OS X enables users to temporarily mute notifications on their Mac. This quick tip will teach you how to take advantage of this nifty feature. Click on the Apple menu > System Preferences > Notifications. Here, you'll be able to configure the default settings for the Do not disturb mode by ticking the appropriate checkboxes:
You can, for example, configure the Do not disturb mode to come into action at specific hours of the day or when specific features are in use (screen mirroring, FaceTime, Standby mode…).
You can also enable this feature manually by scrolling down in the Notification Center and toggling the Do not disturb switch On.