I found these instructions for automating Slack status based on the connected wi-fi. The post is quite old and it is not working for me on MacOS Ventura.
To be honest, I don't even know how to debug such a script.
Could somebody help?
(alternatively, is there a better solution? some tool to automate processes based on events?)