Use Do Not Disturb on your Mac
When you need to focus on a specific task, or just need a break from notifications on your Mac, you can turn on Do Not Disturb. You don’t see or hear notifications as they arrive, but they’re collected in Notification Center, where you can view them later.
Temporarily turn on Do Not Disturb
On your Mac, do one of the following:
In the menu bar, click the Notification Centre icon , swipe down, then click the Do Not Disturb button.
Press and hold the Option key while you click the Notification Centre icon in the menu bar.
The icon is dimmed to show Do Not Disturb is on. It stays on until midnight or until you turn it off, or until it’s scheduled to turn off (as specified in Notifications preferences).
Schedule Do Not Disturb
On your Mac, choose Apple menu > System Preferences, then click Notifications.
Click Do Not Disturb at the top of the sidebar, then set options to schedule it.
You can schedule Do Not Disturb for a time period, when your Mac is in sleep (useful if you sleep near your Mac), or when you project the screen (for example, if you’re giving a presentation).
If you want to receive call notifications even when Do Not Disturb is on, select the call tick boxes.