JohnCoates / Aerial

Apple TV Aerial Screensaver for Mac
MIT License
20.79k stars 1.05k forks source link

Reject/Suppress Notifications While Aerial Runs #982

Open Jimmbo opened 4 years ago

Jimmbo commented 4 years ago

MacMini, 10.15.4, HP 4K 27" monitor

Description of issue / Feature request

I see no way in MacOS to suppress notifications from popping up while screensaver runs. Is there any way Aerial could reject/suppress notifications while running?

glouel commented 4 years ago

Hi @Jimmbo !

So I had a quick look, apparently the best way to do this would be to enable do not disturb when Aerial starts, and disable it when Aerial stops. Good news is, there seems to be an API for this : https://stackoverflow.com/questions/25210120/is-it-possible-to-turn-on-off-do-not-disturb-for-os-x-programmatically

Couple of bad news, all Catalina:

So I have to say, at first glance, probably not doable with the current state of things. Maybe things will improve if/when Apple gives us a new screensaver API in june though.