Closed sirgatez closed 1 year ago
Hi @sirgatez,
identifies these configuration files as executable and displays them in the menubar.
SwiftBar actually makes every file in the plugin folder executable, this was added way back in one of the first versions, because users were having issues. I don't think I want to change this.
SwiftBar has two mechanisms to mark files\folders like "not plugins":
Additionnaly SwiftBar exposes these two env variables, that might be handy:
Describe the bug For example I have BitBar scripts that save configuration data in a file alongside the script itself. The script is marked +x but the configuration files are not. However when pointing SwiftBar to the plugin folder it identifies these configuration files as executable and displays them in the menubar.
To Reproduce Place file in plugins folder that is not executable.
Expected behavior Non executable files should not be listed, as they do not produce any output.
Screenshots
Environment:
Plugin Example: Applies to all non executable files.
Additional Context: I can disable the files from the SwiftBar menu and the files will no longer appear in the menubar.