fix: install versioned default theme state

This commit is contained in:
hl-valdemar
2026-10-23 10:23:28 +02:00
parent 92200c76ec
commit 90cf08729e
4 changed files with 207 additions and 8 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ The installer:
- Builds `~/.local/bin/tint`.
- Installs `config.toml` under `$XDG_CONFIG_HOME/tinted-theming/tinty`, or `~/.config/tinted-theming/tinty` when `XDG_CONFIG_HOME` is unset.
- Copies `state.toml` only when no state file already exists.
- Copies the versioned `default-state.toml` to the installed `state.toml` only when no state file already exists.
- Creates `~/.config/herdr/config.toml` if needed.
- Runs `tinty sync` to download the configured theme repositories.
- Creates and loads a `dark-notify` LaunchAgent for automatic macOS appearance switching.
@@ -180,7 +180,7 @@ After changing or updating the wrapper source:
make install
```
Existing `state.toml` content is preserved.
Existing `state.toml` content is preserved. Missing state is recreated from `default-state.toml`, including the bundled named pairs and favorites. The source directory's ignored `state.toml` is personal state and is not used by the installer.
## Uninstall