Retrieve the persisted value of one configuration key.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_cfg_get

Purpose

Retrieve the persisted value of one configuration key.

Arguments

  • $1 — Valid shell-identifier key.

Output

Writes the stored value without a newline.

Returns

0 when present; 1 if invalid/absent; 2 when the config file is unreadable.

Usage

  sgnd_cfg_get SGND_UI_STYLE