fn: sgnd_cfg_unset
Purpose
Remove a configuration key and unset its variable.
Arguments
$1— Valid shell-identifier key.
Side effects
Updates SGND_CFG_FILE and unsets the matching shell variable.
Returns
0 after unsetting the variable; 1 if the key is invalid. File-write failures may be masked by the final unset.
Usage
sgnd_cfg_unset SGND_UI_STYLE
