Thank you. A few years ago there was Ghostnote but the app is bot being developed anymore and does not work on newer macOS versions.
I’m looking forward to port the app to Windows as I’ve never developed anything for Windows yet and am really interested in how window management works there
I will check out this option. I also created an Apple Shortcuts integration, so if Apple provides a way to integrate desktop changes using the automation app, you can configure it to run a DockFlow preset for each scenario.
The shortcut and CLI integration are really powerful,
I know users who set up automations for focus modes, time of day, etc.
Let me know if you manage to create such an integration, and I will check that out as well.
I haven't coded for macOS for a while... well, for almost ten years :-) But as far as I remember, there's a 'NotificationCenter' which broadcasts system state changes to apps. Maybe it has a 'Desktop changed' event?