Usage

> Published on Wed, 24 Jul 2024, 19:24> Updated on Wed, 24 Jul 2024, 19:32

First, you'll need to enable the websocket connection in simple-bar: see "Enable simple-bar-server connection" and "Refresh spaces & process with simple-bar-server" in "Setup" section.

You can request simple-bar to refresh or toggle its widgets by sending a GET request to the server.

A request is composed of the following parts:

shell
# Toggle, enable, disable or refresh a widget
curl http://localhost:7776/<realm>/<target>/<action>

realm is either widget, yabai, skhd or missive. Only the widget realm is currently supported.

Something is wrong in this documentation? Please open an issue on GitHub in simple-bar-server repo.