Windows:
-
Go to Settings > System > Notifications
-
Toggle off apps or enable Focus Assist (like Do Not Disturb):
-
Settings > System > Focus Assist
-
Choose: Off / Priority only / Alarms only
-
Mac:
-
Go to System Settings > Notifications
-
Turn off notifications per app or enable Focus Mode:
-
Click the Control Center (top-right corner) > Focus
-
Use Do Not Disturb, or set up custom Focus modes
-
Bonus: Silence notifications from messaging apps directly (Slack, Teams, etc.)