There is a part of KDEConnect to run custom commands on a PC. That’s perfect. But I’d like to configure a command to run automatically whenever a certain (or any) device connects/disconnects me. For instance, to unlock the screen of my PC when my phone connects to it and to lock it back when my phone leaves the network. Or to get a notification. Or to log who and when connected to a shared PC at work.
When I set an alarm up, I can change the time, the name, and the schedule. I see the interface I’ve described above to be similar. A list of commands, each line showing a condition, i.e., a paired device and a direction (“when connected” or “when disconnected”). Additionally to the specified paired device, I fancy an option to do the job whenever any known device connects or disconnects.