Like conky, generate lines of info to pass to bars like lemonbar.
make
make install
PREFIX=~/bin make install
# config.toml
template = "{{ .Date }} Hello {{ .Username }} - {{ .Random }}\n"
[[sources]]
name="date"
type="once"
script="date"
[[sources]]
name="username"
type="once"
script="whoami"
[[sources]]
name="random"
type="listen"
script="bash -c 'while true; do sleep 1; echo $RANDOM; done'"
spew config.toml
Use with lemonbar:
spew config.toml | lemonbar -p
- retry before failing
- sandbox failure (each section fails on its own)