Proposal: Add option to automatically enable "do not disturb" when screencasting
A common use for screencasting is presenting the screen contents to someone live. In such a setting, it is usually undesirable to have random notifications pop up during presentation, either because they can be distracting, or because of privacy reasons.
Therefore, I propose to add the option for users to enable automatic toggling of the "DND" mode when screencasting is active. The functionality would work as follows:
- Screencast begins
- Is DND active right now? If yes, do nothing. If no, continue to step 3.
- Enable DND
- Screencast ends
- Disable DND (only if it was enabled in step 3)
Of course, this should be a toggle, so users can still allow notifications to appear in case they need to (e.g. they are testing a notification and want to record it using something like OBS that makes use of the screencast portal).
I'd love to get started on this, just want to make sure that this is something worth pursuing first.