I want my widget to run a shortcut when tapped which gets some text from the internet and shows it. I am now using shortcuts://x-callback-url/run-shortcut?name=rem-summary&source=homescreen
as the URL to be opened when the widget is tapped; But this has three drawbacks:
- It first opens Scriptable.
- It then opens the Shortcuts app.
- After the shortcut has finished, it’ll stay in the shortcuts app.
Ideally, I want the shortcut to run without opening any apps.
Update 1: I tried shortcuts://x-callback-url/run-shortcut?name=rem-summary&source=homescreen&x-success=launcher://homescreen
. This needs an external app, but it can switch to the homescreen after the shortcut has finished.