Installation
Install the library from your module root:
go get github.com/spetix/bar-out-adapters@latest
Then import it in your Go code:
import "github.com/spetix/bar-out-adapters/pkg/barout"
This repository also includes a documentation site with local build targets:
make docs-site— build the doc sitemake local-site— build the docs site with coverage includedmake run-local-site— build and serve the site locally
Supported protocols
The library supports the following output protocols:
raw— plain raw text outputi3blocks— output compatible with i3bar/i3blocks formatwaybar— JSON format for Waybarjson— generic JSON output