config.toml
Every option in ~/.config/smalti/config.toml.
Smalti reads ~/.config/smalti/config.toml. If it doesn't exist, the defaults apply. ⌥⌘, opens it and, if it's missing, creates it with every option commented out. After editing it, run Recargar configuración (reload configuration) from ⌘K.
- Unknown tables or keys are an error: Smalti tells you when it reloads.
- The path is fixed.
XDG_CONFIG_HOMEdoesn't change it. - What the Appearance panel and the Prompt studio save goes to theme.toml, which is read on top of this file.
[appearance]
| Key | Values | Default | What it does |
|---|---|---|---|
theme |
obsidiana, niebla, ambar-nocturno, bosque |
obsidiana |
Theme |
accent |
"#rrggbb" |
the theme's | Accent color |
glass_opacity |
0.3–0.95 | 0.62 | Glass opacity |
blur |
0–48 | 28 | Glass blur, in px |
protect_legibility |
true / false |
true |
Raises opacity under text when contrast drops below 4.5 : 1 |
font_family |
text | "JetBrains Mono" |
Terminal font |
font_size |
6–72 | 13 | Font size |
gap |
0–32 | 8 | Space between panes |
radius |
0–32 | 11 | Pane corner radius |
Each theme's ANSI palette is edited in [appearance.ansi.<theme>], with keys 0…15 and "#rrggbb" values.
[tiling]
| Key | Values | Default | What it does |
|---|---|---|---|
default_layout |
dwindle, columns, master |
dwindle |
Layout of new workspaces |
[shell]
| Key | Values | Default | What it does |
|---|---|---|---|
command |
"login" or a command |
"login" |
Shell the panes run. login uses your login shell |
[input]
Smart input lives at the zsh prompt.
| Key | Values | Default | What it does |
|---|---|---|---|
enabled |
true / false |
true |
Turns the whole input layer on or off |
predictions |
true / false |
true |
Ghost text |
completions |
true / false |
true |
Tab completions |
highlighting |
true / false |
true |
Line highlighting as you type |
history_limit |
1–1,000,000 | 100,000 | History entries kept |
generator_timeout_ms |
100–10,000 | 1000 | Time limit for completion generators |
Predictions are local: they don't call any API. You can add your own completion specs (Fig format) in ~/.config/smalti/completions/.
[window]
| Key | Values | Default | What it does |
|---|---|---|---|
confirm_close |
true / false |
true |
Asks before closing something with a running process |
buttons |
hidden, hover, visible |
hidden |
Window (traffic-light) buttons |
[preview]
| Key | Values | Default | What it does |
|---|---|---|---|
hover |
true / false |
true |
Thumbnail when hovering an image name. ⌘Y opens it in Quick Look |
[extras]
| Key | Values | Default | What it does |
|---|---|---|---|
otlp |
true / false |
true |
Receives Claude Code telemetry on 127.0.0.1 for the Observatory. Stays off if you already set up Claude Code telemetry yourself |
[observatory.models."<id>"]
A model's prices and context, for the Observatory's estimated cost. Prices are in US dollars per million tokens. A model Smalti doesn't know needs all six keys.
[observatory.models."my-model"]
input = 3.0
output = 15.0
cache_read = 0.3
cache_write_5m = 3.75
cache_write_1h = 6.0
context = 200000
[keys]
Shortcuts. See Keyboard shortcuts.
[prompt]
The same keys as in theme.toml.