News for hackers. Stuff that matters.
Re:Show HN: DockFlow – Switch between multiple macOS Dock la... by zolotorevich on Thursday May 22, 2025 @01:48PM (#44064635)
Nice! It would be cool if every desktop in Mission Control had its own dock.
Re:Show HN: DockFlow – Switch between multiple macOS Dock la... by pugdogdev on Thursday May 22, 2025 @02:31PM (#44065164)
Thanks!

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.

Thank you!

Re:Show HN: DockFlow – Switch between multiple macOS Dock la... by zolotorevich on Thursday May 22, 2025 @03:31PM (#44065856)
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?