github rasjonell/dashbrew v1.1.0

8 hours ago

Big feature drop. Old v1.0 configs keep working unchanged; every new field is optional with sensible defaults.

Component interactivity

  • Per-component bindings: [{key, label, action}]. Pressing the bound key on the focused pane runs a shell action.
  • Two action types: fire_and_forget (spawn, ignore output) and replace_pane (spawn, capture stdout, show until reset).
  • output_as: "text" | "inherit" on replace_pane. inherit routes stdout through the component's normal data parser so a chart can ingest fresh numbers, a histogram fresh bins, etc.
  • Global Ctrl+K action palette, fuzzy filterable, run with Enter.
  • Spinner overlay while a replace_pane action is in flight; sticky output afterwards until R (refetch + resume schedule) or Esc (clear only).
  • Centered red-bordered error modal on action failure. Dismiss with Esc.
  • Per-action timeout_seconds (default 30).
  • Validation at config load: reserved-key list plus per-component-type internal-key conflicts.

Theming

  • Seven named theme presets: default, dracula, nord, gruvbox-dark, tokyo-night, catppuccin-mocha, solarized-light.
  • style.theme: "auto" detects terminal background via OSC 11.
  • Role-based palette (background, foreground, dim, accent, success, warning, error, border, borderFocused) layered on top of the active theme.
  • Per-component component.style.{palette, borderType} overrides for breaking individual panes out of the global theme.
  • Custom theme files from $XDG_CONFIG_HOME/dashbrew/themes or $DASHBREW_THEMES_DIR.
  • CLI flags: -t / --theme NAME, --list-themes.

Layout and visuals

  • style.layout.gap puts whitespace cells between adjacent panes.
  • style.focusMode: "highlight" dims non-focused panes.
  • component.titleAlign: "left" | "center" | "right" with adaptive title-cell borders.
  • component.icon literal glyph prepended to the title.
  • Focused-pane title accent: bold title text plus matching color on the title cell's outward-facing borders.
  • Single-row contextual help line at the bottom of the terminal.
  • Histogram barStyle: single, alternate, gradient (LAB-blended), or map (per-bin colors).
  • Theme-driven colors wired through chart, table, histogram, and todo (done items render strikethrough plus success-coloured ).

Fixes

  • Text component height overflow that pushed adjacent columns out of alignment.
  • Histogram height drift that left an empty band below adjacent panes.
  • fire_and_forget actions killing the spawned shell before it could finish.

Install

go install github.com/rasjonell/dashbrew/cmd/dashbrew@latest
go install github.com/rasjonell/dashbrew/cmd/dashbrew@v1.1.0

Don't miss a new dashbrew release

NewReleases is sending notifications on new releases.