Skip to content

Define config schema and parser #3

Description

@tnez

Context
V1 uses static TOML config loaded from $XDG_CONFIG_HOME/.hud/config.toml. See docs/v1-scope.md.

Acceptance criteria

  • Define the smallest useful TOML shape for one home dashboard, command-backed panels, and fire-and-forget actions.
  • Parse config once at the boundary into typed Rust values.
  • Missing config produces a clear user-facing error.
  • Invalid config produces a clear user-facing error with enough context to fix it.
  • Unit tests cover valid config, missing required fields, and invalid shapes.

Out of scope

  • Multiple config formats.
  • Runtime config editing.
  • Persistent state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions