Application profiles
A profile is a small set of defaults applied to the same binary and core. It is not a separate application and cannot block files: every profile opens and highlights every supported language.
| Setting | Example | Effect |
|---|---|---|
theme | builtin.dark | Theme when the user has not chosen one. |
[languages] servers | ["rust-analyzer"], ["*"], [] | Which language servers may start (still subject to trust). |
[resources] | idle_grace_seconds, max_running_services, max_restarts | Language-service policy. |
[workspace] excluded_dirs | ["target"] | Extra directories hidden in the explorer. |
[extensions] disabled | ["axiom.solarized"] | Extensions off unless the user enables them. |
Built-in profiles:
- generic (default): all known servers allowed, 30 s idle grace, 4 services.
- rust: only rust-analyzer, 300 s grace (it is expensive to restart), 2 services, hides
target/.
Select one with --profile rust or profile = "rust" in settings.toml. A file in <config>/profiles/ with the same id replaces a built-in; invalid files are reported and skipped.
# ~/.config/axiom/profiles/quiet.toml — editing only, no language servers
id = "quiet"
name = "Quiet"
theme = "builtin.light"
[languages]
servers = []
note
Switching profile requires a restart in the MVP. Profiles do not yet set keybindings or panel layout.