This workflow toggles the Do Not Disturb feature of macOS, optionally for a given length of time. It was inspired by CalmNotifications, but allowing for automatically toggling back after a time period as well as using a different method to toggle so that the status indicator (dimming of the notification icon) works correctly.
This does require configuring the keyboard shortcut for toggling Do Not Disturb. The short version is: set the shortcut to Cmd+Ctrl+Option+Shift+D
. You can find details in the README.