[← Back](../README.md)
# Settings
Each group of settings is controlled by a separate xml file. The virtual directory for these files is `~/.config`. The default values for these files can be viewed and edited inside the [public/config](../../../public/config/) directory.
## Examples
### Example of config file containing settings
```xml
/assets/wallpapers/vibrant-wallpaper-purple-yellow.png
```
### Example of component reading settings
```js
// components/desktop/Desktop.jsx
export function Desktop() {
const settingsManager = useSettingsManager();
const [wallpaper, setWallpaper] = useState(null);
useEffect(() => {
(async () => {
const settings = settingsManager.get(SettingsManager.VIRTUAL_PATHS.desktop);
settings.get("wallpaper", setWallpaper);
})();
}, [settingsManager]);
return
;
}
```