1
0
Fork
You've already forked shuibar
0
No description
  • Shell 100%
2025年08月03日 11:43:54 -04:00
bin run_block: Default cooldown to an hour when not specified. 2024年12月08日 14:37:20 -05:00
blocks blocks: Add "inkbird". 2025年08月03日 11:43:54 -04:00
.gitignore .gitignore: Fix config file ignore 2024年04月04日 16:54:15 -04:00
config.example Update config.example 2024年11月29日 17:14:33 -05:00
README.md main: Use getopts to parse args. 2024年07月05日 21:22:15 -04:00

shuibar

A sh-driven swaybar.

I'm using this project as an excuse to learn things. As such, it's probably a little bit of a mess and subject to change at any time.

One of the goals is to mostly use the tools available on a fresh Alpine Linux install (Busybox) and keep the package requirements low.

A decent number of "blocks" rely on external services (location, weather, etc.). Each block should have its own README with more information. Blocks aim to be somewhat configurable (ex: custom endpoints for external services).

Usage

See the "config.example" file to configure which blocks to run.

In your sway config file (usually ~/.config/sway/config) point the "status_command" property to main.sh, with the --json parameter like so:

bar {
 status_command '~/.config/sway/swaybar/bin/main.sh -p json'
}