Function deskulpt::settings::write_settings
source ยท pub(crate) fn write_settings(
app_config_dir: &Path,
settings: &Settings,
) -> Result<(), Error>
Expand description
Write the widget internals.
This writes the widget internals to ${app_config_dir}/.settings.json
. It will
create the file if it does not exist, and overwrite the file if it does.