You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read_only = true# optional, prevents modifications to this repo
155
155
dots_dirs = ["dots", "themes"] # optional, defaults to ["dots"]
156
+
default_active_subdirs = ["dots"] # optional, specifies which dirs are active by default
156
157
```
157
158
158
159
The `dots_dirs` field defines which subdirectories contain dotfiles. This enables:
159
160
- Multiple themes/variants in one repo
160
161
- Layered configurations (base + custom)
161
162
- Machine-specific configs
162
163
164
+
The `default_active_subdirs` field specifies which subdirectories should be **active by default** when users clone your repository. This allows repository authors to provide sensible defaults without requiring users to manually configure `active_subdirectories` in their global `dots.toml`.
165
+
166
+
**Resolution priority:**
167
+
1. If `active_subdirectories` is set in `~/.config/instant/dots.toml`, that takes precedence
168
+
2. Otherwise, `default_active_subdirs` from `instantdots.toml` is used
169
+
3. If neither is set, all directories in `dots_dirs` become active (in the order defined)
170
+
163
171
### dot_overrides.toml
164
172
165
173
Per-file source overrides at `~/.config/instant/dot_overrides.toml`:
0 commit comments