spacebar icon indicating copy to clipboard operation
spacebar copied to clipboard

Do Not Disturb not working with MacOS 13

Open TheSkyentist opened this issue 1 year ago • 1 comments

The appearance of the do not disturb icon does work in macOS Ventura 13.5.1. I believe this is due to the way Focus Modes are accessed in src/misc/dnd.c. I'm not proficient enough in C or Swift to figure out how to fix this, but I believe the following might be helpful. The following snippet returns a boolean 0 or 1 depending on whether or not a Focus mode is active: defaults read com.apple.controlcenter "NSStatusItem Visible FocusModes". Perhaps this can be adapted into dnd.c?

TheSkyentist avatar Sep 06 '23 12:09 TheSkyentist

This also appears to be the case in Sonoma (14.x.x).

jessebraham avatar Apr 26 '24 14:04 jessebraham