pub fn ensure_default() -> Result<bool, CoreError>
Write the default config file at the standard XDG path if missing.
Returns true when a fresh file was written, false when the file already existed.
true
false