Check whether the active configuration contains a key.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_cfg_has

Purpose

Check whether the active configuration contains a key.

Arguments

  • $1 — Valid shell-identifier key.

Returns

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

Usage

  sgnd_cfg_has SGND_UI_STYLE