KDE Connect/Tutorials/Adding commands

From KDE UserBase Wiki

KDE Connect lets you run commands on your computer from your phone. To enable this feature, open KDE Connect settings and click on the phone you would like to allow to send commands. Then enable the Run commands option.

Open the Run commands settings menu by clicking the icon on the right side of the window.

You can now add new commands to your phone. Each command consist of a name, and a shell script. After adding both elements, confirm your new command. If you want ideas for potential scripts, a list of commands can be found in UserBase.