https://github.com/rinx/sbar-bb
A wrapper around SketchyBar API used for writing config in Babashka script.
https://github.com/rinx/sbar-bb
babashka sketchybar
Last synced: 7 months ago
JSON representation
A wrapper around SketchyBar API used for writing config in Babashka script.
- Host: GitHub
- URL: https://github.com/rinx/sbar-bb
- Owner: rinx
- License: unlicense
- Created: 2024-04-07T13:33:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T14:33:01.000Z (over 1 year ago)
- Last Synced: 2025-03-14T16:47:52.252Z (7 months ago)
- Topics: babashka, sketchybar
- Language: Clojure
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sbar-bb
Write your [SketchyBar](https://github.com/FelixKratz/SketchyBar) config in Babashka script.
## Usage
Add this to your `bb.edn`.
```edn
{:deps {io.github.rinx/sbar-bb {:git/sha "97aa02b85fa00dea557f135ad44e61551f43e8cf"}}}
```Write your own SketchyBar config as a Babashka script. See [examples/example.clj](https://github.com/rinx/sbar-bb/blob/main/examples/example.clj).
Call your Babashka script from `sketchybarrc`.
```bash
# add path to your bb executable
PATH=$PATH:$HOME/.bin# config script
CONFIG_FILE="$HOME/.config/sketchybar/rc/config.clj"bb ${CONFIG_FILE}
```## API
TBW
## Example
- [Basic example: examples/example.clj](https://github.com/rinx/sbar-bb/blob/main/examples/example.clj)
- [rinx/dotfiles: macos/sketchybar](https://github.com/rinx/dotfiles/tree/ceb45e434684b8ce93349fc6ab602190c8cd7477/macos/sketchybar)## Similar Projects
- [FelixKratz/SbarLua](https://github.com/FelixKratz/SbarLua)