diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-21 10:12:29 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-21 10:12:29 +0200 |
| commit | 26d7799fe90e621994503231ac917336f99b6145 (patch) | |
| tree | 286306f6f9bd74e9e1090f7927e9efd343d2df01 /README.md | |
| parent | 1c1fb069f7f3bae5946c485ef48846c150ef1d54 (diff) | |
| download | sb-builder-26d7799fe90e621994503231ac917336f99b6145.tar.gz sb-builder-26d7799fe90e621994503231ac917336f99b6145.zip | |
sbb-remote 0.10.0: config-get/config-set; GUI watches its config
Keystone's settings pages edit both configs. config-get returns the VM
config text, the defaults and the path; config-set validates new text
with the same check() as load_config, keeps .bak and replaces the file
atomically. Both run before load_config, so a broken config can still be
read and fixed. The GUI reloads its config when the file changes,
re-adding the watch after an atomic write replaces the inode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -58,7 +58,11 @@ The design, one spec per phase, is in `docs/design/`. - GUI: `~/.config/sb-builder/config.toml`, see `config.example.toml` - VM: `/etc/sb-builder/config.toml`, see `remote/config.example.toml` -Every key is optional. `File > Reload config` rereads the GUI config. +Every key is optional. Both configs also have settings pages in Keystone (the +quickshell desktop shell); the files stay hand-editable. The GUI rereads its +config when the file changes (`File > Reload config` does it by hand), and +Keystone edits the VM's through `sbb-remote config-get` / `config-set`, which +refuse a file that does not load and keep the previous one as `config.toml.bak`. Column widths, sort order, splitter positions and the window size are kept across runs in `~/.config/sb-builder/state.conf` (delete it to reset them; on Wayland the compositor may still pick the window size). |
