Function deskulpt::settings::read_settings
source ยท pub(crate) fn read_settings(app_config_dir: &Path) -> Settings
Expand description
Read the widget internals.
This looks for ${app_config_dir}/.settings.json
and returns the widget internals
if the file exists and can be loaded correctly. Otherwise it returns an empty map.