id = "xbar" name = "xbar" homepage = "https://xbarapp.com" description = "Put the output from any script or program into your macOS Menu Bar." # The app icon, from the project's repository. icon = "https://raw.githubusercontent.com/matryer/xbar/main/app/build/appicon.png" platforms = ["macos"] # xbar ships no command-line tool, so the bundle identifier is what a consumer # sees. com.xbarapp.app is the identifier the Homebrew cask quits and the name # of the preference domain below (Casks/x/xbar.rb). executables = [] [installation] macos_bundle_ids = ["com.xbarapp.app"] [dotfiles] # The README at https://github.com/matryer/xbar: "The plugin directory is # folder on your Mac where the plugins live, located at # ~/Library/Application Support/xbar/plugins". The plugins are the # user's own scripts, named `..`, and they are the whole # point of the app. # # Casks/x/xbar.rb zap trash names the same directory's parent and the # preference domain beside it: "~/Library/Application Support/xbar" and # "~/Library/Preferences/com.xbarapp.app.plist". macOS-only, so [appData] and # [preferences] are ~/Library/Application Support and ~/Library/Preferences and # stand for nothing else. paths = [ "[appData]/xbar/plugins/", "[preferences]/com.xbarapp.app.plist", ] # No whole-file credential: the plugin directory holds scripts and the plist is # a preference domain. A plugin that talks to an API is the user's own script, # and a token pasted into one is inside a file that is otherwise the plugin # itself — a consumer that scans content is what catches that, since there is # no key to name in a shell script. secret = [] # No machine_lines. A plugin is an executable script whose interpreter line and # absolute paths belong to this machine, but a script has no matcher in this # schema, whose `format` covers toml, yaml and json only.