diff --git a/README.md b/README.md index e050f3b..1fae635 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,12 @@ echo "Test 2" You can mark a plugin as streamable with a special metadata property `streamable` ## URL Scheme + +Some notes: + +* Instead of the plugin [name](#plugin-naming), you can (and probably should) use the plugin file name. This considered a unique plugin ID, whereas `name` can be the same between multiple plugins. If your plugin's filepath is `~/Documents/SwiftBar/myplugin.1m.sh`, then the name is `myplugin` and the ID `myplugin.1m.sh` +* When using `open(1)` to trigger scheme URLs, use `-g` to prevent the command from stealing focus from your active app. + | Endpoint | Parameter | Description | Example | | ------------- | ------------- |------------- | ------------- | | refreshallplugins | none | Force refresh all loaded plugins | `swiftbar://refreshallplugins` | @@ -281,8 +287,6 @@ You can mark a plugin as streamable with a special metadata property `