DocsExtensionsWASM Updates Footer

wasm-updates-footer

Appends the pending package-update count to the footer (WebAssembly config provider).

  • Kind: config_provider
  • Artifact: wasm-updates-footer.wasm (core module)
  • Capabilities: exec: checkupdates, pacman
  • Language: Go (wasip1)

Installation

xfetch extension install ./extensions/wasm-updates-footer

Configuration

{
    "config_providers": [
        {
            "extension": "wasm-updates-footer",
            "args": {}
        }
    ]
}

Arguments

FieldTypeDefaultDescription
programstringcheckupdatesAllowlisted program; falls back to pacman -Qu when missing.
argsstring[][]Arguments passed verbatim to the program.
prefixstring·Separator appended before the count.
up_to_datestringup to dateLabel used when there are no pending updates.

Behavior

Prints 12 updates or up to date after the configured footer; failures stay silent and the count is never appended twice.