liamg / shox

🍫 A customisable, universally compatible terminal status bar
The Unlicense
705 stars 21 forks source link

max one bash helper supported #9

Closed bibby closed 4 years ago

bibby commented 4 years ago

When multiple {bash} helpers are in a format string, the output of the first command is repeated for the rest.

This example produces a status bar with three segments, each printing 1.

format: "{bash: echo 1}|{bash: echo 2}|{bash: echo 3}"

(Neat project!)