This macro is similar to others for clearing out notifications in Big Sur. Right now, it only supports a single group. I haven't had multiple groups of notifications to test yet.
If anyone has figured out a cleaner way to do this, I would love to hear it. I couldn't find a clean way to move the mouse or get access to the hidden "X" and "Clear All" buttons without having the mouse hover over the notification in Big Sur.
Clear Notification Center.kmmacros (3.3 KB)