simple-bar
simple-bar copied to clipboard
Do Not Disturb in macOS 12 Monterey
Several new modes
This won't work anymore
Indeed, It is a really simple implementation of a DnD toggle. I'll look into something in order to improve this.
Do Not Disturb bell doesn't work on Ventura 13.0.1. Nothing happens when toggling it.
https://github.com/arodik/macos-focus-mode This acts as a way to change focus modes.
Im not familiar with javascript programming though so I'm not sure if nodeJS libraries will work with react.
research before i found the npm module (Library already does everything I talked about much better)
This is possible but I think we have to use apple shortcuts to do it. My idea was to set the current status using shortcuts, then put that status into a file and then we can read that for the widget. This was the shortcut I ended up with :
Run via the terminal it looks like this
Making it cycle through all the focus settings could be an option, but it would require displaying the current setting as well (requiring implementing the icons somehow).
The problem with this though is that it doesn't get the state without toggling it. If anyone can figure out how to get the current focus setting and write that, please say
Also I'm not sure if shortcuts can be run by the terminal without installing them into the shortcuts app first. If they did need to be installed we would want all shortcut required things to be in one shortcut for user convenience.
I had to remove this widget as I can't make it work in recents macos version.
I hope there will be some sort of solution in the future.