Repository navigation
0.4.0
Upgrade notes
- The default format shows the git branch after
{cwd}. A format that you set inBURNBAR_FORMATdoes not change: add{branch}to get it. {cwd}shortens$HOMEto~, also in your ownBURNBAR_FORMAT.BURNBAR_WRAP_SEPdefaults to one space (was two). SetBURNBAR_WRAP_SEP=' 'to keep the old spacing.BURNBAR_SPARK_WIDTH=0now hides the sparkline (it fell back to 8).{delta}keeps working. Set8to keep the old result.
Added
{branch}: the current git branch, or the short SHA on a detached HEAD. It works in worktrees and submodules, and it is empty outside a repo and in a reftable repo. The default format moves it to the next line when it does not fit (#12).- Every bar can be hidden: a width of
0removes the bar and keeps the rest of the tag, for exampleBURNBAR_5H_WIDTH=0gives5h: 47% ↺18:30. New variables:BURNBAR_MONTHLY_WIDTHandBURNBAR_DAILY_WIDTH(#13).
Changed
- An empty tag takes the spaces before it:
{ctx} {bar} {pct}without a bar givesctx:94.2k 47%(#13). - A
{sep}or{wrap}with nothing after it on its line renders nothing, so an empty group leaves no trailing spaces or blank line (#12).
Fixed
- A non-numeric bar width falls back to the default. The bar used to disappear (#13).
Full Changelog: 0.3.0...0.4.0