Update README.md

Add comment about plugin positioning.
This commit is contained in:
Andrew Ferrier 2022-03-02 18:10:45 +00:00 committed by GitHub
parent b675a4d7e8
commit 1acffbaf95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,8 @@ Duration modifiers:
Example filename: `date.1m.sh`
Whether you are using a plugin from the plugin repository, or creating your own, plugins will initially appear in the menu bar in no pre-determined order. However, you can reorder how they appear by holding down <kbd>Cmd</kbd> and dragging them (this process can sometimes also be used on some other non-SwiftBar icons in the menu bar too). Plugin position will be remembered unless you change the name of the plugin file, in which case they'll need to be re-positioned again.
## Plugin API
Plugin is an executable script in the language of your choice. When SwiftBar detects a new file in `Plugin Folder` it makes this file executable if needed and runs it.