Desktop settings
Atlas Desktop stores its preferences in ~/.atlas/desktop/settings.json. Everything here can be changed in Settings (⌘,), which also has a search box that jumps to a setting by what it does. Edit the file by hand when you want to script or share a configuration; the app re-reads it and drops values that are the wrong type or out of range, using the default instead, so a bad edit never breaks the app.
Editor, interface and terminal preferences use Zed’s setting names.
Where things are in Settings#
Settings (⌘,) has thirteen sections in three groups (twelve off macOS, where Capture is hidden), and a search box that jumps to a setting by what it does. Every section starts with one line saying what it is for.
| Group | Section | What is in it |
|---|---|---|
| Atlas | General | Updates: the app, the atlas CLI and the terminal host, the release channel they follow, and the display language |
| Appearance | Theme (light, dark, terminal), import and export, accent color, zoom, interface font, file panel, split panes | |
| Notifications & sounds | Notifications when an agent finishes or needs you; the sounds Atlas plays, one switch each | |
| Capture (macOS only) | Screenshots, screen recordings and GIFs from a hotkey: access, keys, where they are saved, quality, the overlay, recent captures | |
| Keyboard shortcuts | Rebind or remove the key of any command | |
| Help & onboarding | The guided tour, the shortcut cheat sheet, the getting-started checklist | |
| Work | Workspaces | Where worktrees are created, branch name prefix, auto clean up, clean up by hand, hygiene (orphaned processes and disk) |
| Editor | Tabs Editor (code font, editing, display) and Languages (language servers) | |
| Terminal | Renderer, font, cursor, padding, scrollback, clipboard | |
| Git | Which agent writes commit messages | |
| Agents | Default agent, tool approval, extra arguments, the agent dock (switch and hotkeys), custom agents, quick commands | |
| Connect | Integrations | Tabs Shell & links, Agent hooks, SSH hosts and Mobile |
| Atlas Crew | Connect a crew server, connect GitHub, short replies, replay the onboarding |
Where it used to be: Shell for your projects and Open links in (General) are in Integrations › Shell & links; the agent hooks switches (Agents) are in Integrations › Agent hooks; SSH hosts and Mobile were sections of their own and are tabs of Integrations; notifications and sounds (General) are in Notifications & sounds. Older links such as updates.show("ssh") or appearance/terminal still open the right place.
The registry#
apps/desktop/src/lib/settings/registry.ts is the one list of what Settings contains: category (a sidebar entry) → page (a tab, or the whole page) → group (a card) → item (a row). The sidebar and its group headings, the page header and tab strip, the search index, the breadcrumb of a search result and every updates.show("<id>") deep link are derived from it, so they cannot disagree.
To add a setting:
- Put an
item(id, label, description, keywords?, ...aliases)in the right group ofregistry.ts. The id never changes afterwards. - Render the row in the page component named in that page’s
files, with<Row id="the-id" …>.
That is all: search finds it by label, description and keywords, updates.show("the-id") opens its page and flashes the row, and the tests go red if either half is missing (registry.test.ts: every item reachable by search and by deep link, no alias shadows an id; placement.test.ts: the ids a component renders are exactly the ones the registry files under it).
To add a section or a tab, add the category (or page) to the registry and its component to components/settings/pageComponents.ts and its icon to SettingsNav.svelte; the types stop compiling until all three exist. When something moves, keep its id and add the old deep-link id to aliases (on the item, the page or the category).
| Deep link | Opens |
|---|---|
terminal, integrations | a section (the first tab for a tabbed one) |
editor/languages | a section and a tab |
shell, ws-dir, notify … | the page of that row, scrolled to it and flashed |
appearance/terminal, ssh, languages … | ids of earlier versions, kept as aliases |
| anything unknown | the first section |
Editor and interface#
| Key | Default | Notes |
|---|---|---|
buffer_font_family | ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospace | code editor font |
buffer_font_size | 12.5 | 6 to 48 |
buffer_line_height | 1.55 | 1 to 3 |
ui_font_family | -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif | interface font |
ui_font_size | 13 | 9 to 24 |
project_panel.dock | "left" | left or right: which side the file panel sits on |
project_panel.file_icons | true | Material Icon Theme file icons |
project_panel.folder_icons | true | |
project_panel.indent_size | 12 | 4 to 40 px |
active_pane_modifiers.border_size | 0 | 0 to 8 px border around the active pane |
active_pane_modifiers.inactive_opacity | 1 | 0.2 to 1; lower dims inactive panes |
enable_language_servers | true | language servers (completion, diagnostics, hover, go to definition) |
format_on_save | false | format with the language server when saving |
inlay_hints.enabled | true | inferred types and parameter names shown inline |
Code editor#
Settings → Editor.
| Key | Default | Notes |
|---|---|---|
editor.tab_size | 4 | 1 to 16 columns |
editor.insert_spaces | true | Tab inserts spaces; false inserts tab characters |
editor.word_wrap | false | wrap long lines at the edge of the editor |
editor.render_whitespace | "none" | none, selection or all |
editor.line_numbers | true | |
editor.minimap | false | |
editor.sticky_scroll | true | keeps the enclosing function or class pinned while you scroll its body |
editor.bracket_pair_colorization | true | |
editor.indent_guides | true | |
editor.rulers | [] | columns for vertical lines, whole numbers 1 to 500, e.g. [80, 100]; anything else in the list is dropped |
editor.highlight_active_line | true | |
editor.trim_trailing_whitespace_on_save | true | |
editor.insert_final_newline_on_save | true | |
editor.large_file_threshold_bytes | 2000000 | 100000 to 100000000; bigger files open in a light mode without language features |
editor.scroll_past_end | false | |
editor.smooth_scrolling | true | |
editor.auto_reload | true | reload a file changed on disk when it has no unsaved edits |
Language servers#
Settings → Editor → Languages lists every language server Atlas knows, shows whether it is on your PATH, managed by Atlas or missing, and lets you install, update, uninstall, restart it and open its log. Atlas runs a server from your PATH when it finds one, and otherwise downloads one the first time you open a file of that language.
lsp replaces the server of a language or changes how it starts. Keys are LSP language ids (typescript, rust, go, python…); the same shape works in a project’s .atlas/settings.json.
{
"lsp": {
"typescript": {
"command": "/opt/homebrew/bin/typescript-language-server",
"args": ["--stdio"],
"initialization_options": { "preferences": { "importModuleSpecifier": "relative" } },
"settings": { "typescript": { "inlayHints": { "parameterNames": { "enabled": "all" } } } }
},
"python": { "disabled": true }
}
}
| Key | Notes |
|---|---|
lsp.<language>.command | run this program instead of the one Atlas finds or installs: a name on PATH or an absolute path. If it cannot be started the status bar says so |
lsp.<language>.args | arguments for command |
lsp.<language>.initialization_options | JSON object sent to the server once, when it starts |
lsp.<language>.settings | JSON object sent as the server’s workspace configuration |
lsp.<language>.disabled | true turns language features off for that language |
Entries of the wrong type are dropped one by one (a command that is not a string, args that is not a list of strings, a non-object option), and an entry left empty is removed, so a bad edit never stops the others from working. Changes apply to servers started afterwards; Restart in the Languages tab applies them to a running one.
Per-project overrides#
A project can carry its own overrides in .atlas/settings.json at the root of the worktree, with the same lsp shape:
{
"lsp": {
"go": { "command": "/usr/local/bin/gopls", "settings": { "gopls": { "staticcheck": true } } }
}
}
The project file wins over ~/.atlas/desktop/settings.json field by field for the language it names (command, args and disabled are replaced; initialization_options and settings are merged deeper, project keys winning); languages and fields it does not mention keep your own settings. Settings → Editor → Languages links to the file (.atlas/settings.json in the footer) and creates it when it does not exist. An unreadable file is ignored and reported in the editor’s language server status.
Terminal#
| Key | Default | Notes |
|---|---|---|
terminal.font_family | SF Mono, Menlo, Cascadia Mono, Consolas, ui-monospace, monospace | CSS font list for both terminals. The GPU terminal uses the first installed family (variable fonts work), else its bundled JetBrains Mono; applies live |
terminal.font_thicken | false | draw text slightly heavier (Ghostty font-thicken; xterm.js uses weights 500/700); applies live |
terminal.font_size | 12.5 | 6 to 48; applies live |
terminal.cursor_shape | "block" | block, bar, underline or hollow |
terminal.blinking | false | |
terminal.max_scroll_history_lines | 10000 | 0 to 100000 |
terminal.scrollback_bytes | 67108864 | 1 MiB to 1 GiB; most memory one GPU terminal spends on its scrollback (bytes of cells). Settings shows it in MB. The tighter of this and the line cap wins; applies live |
terminal.osc52 | "ask" | what happens when a program writes your clipboard: allow, ask or deny. Reading the clipboard is always denied |
terminal.ligatures | true | GPU terminal |
terminal.minimum_contrast | 4.5 | 1 to 21; WCAG ratio a cell’s text is lifted to at draw time (the theme’s ANSI table is not changed), 1 = off. GPU terminal |
terminal.minimum_contrast_chosen | false | Written true when you set the minimum contrast yourself. A stored minimum_contrast of 1 without it is the pre-4.5 default (the Terminal tab used to write it back) and is read as 4.5; set 1 in the Terminal tab to keep it off |
terminal.copy_on_select | true | GPU terminal |
terminal.option_as_alt | "both" | both, left, right or none. GPU terminal |
terminal.click_to_move | true | a click on the prompt moves the cursor (needs shell integration). GPU terminal |
terminal.padding_x | 10 | 0 to 64 pt; inset left and right of the terminal. The margin uses the terminal theme’s background |
terminal.padding_y | 6 | 0 to 64 pt; inset above and below |
The GPU terminal itself is switched with Settings → Terminal → Fast terminal (GPU).
Theme and shortcuts#
| Key | Notes |
|---|---|
theme | { "v": 2, "mode": "system", "light": "Atlas Light", "dark": "Atlas Dark", "terminal": "app" }: mode is system, light or dark; light and dark name the theme used for each appearance; terminal is app (same as the app) or the name of any theme. Defaults are Atlas Dark and Atlas Light (a Tokyo Night based pair, see Atlas Dark and Light); Dracula and Alucard by Zeno Rocha and Luxonauta (MIT) stay bundled, and anyone who picked them keeps them. Your own themes live in ~/.atlas/themes/ as Zed theme files (v0.2.0 format) and are reloaded as you save; the older ~/.atlas/desktop/themes/ is still read. A theme name that no longer exists falls back silently to Atlas Dark (dark) or Atlas Light (light), and the terminal to the app theme. Settings → Appearance imports Ghostty configs, iTerm .itermcolors, VS Code theme .json and .vsix, Alacritty .toml/.yml and Base16 YAML, or a .zip / folder holding several themes (unpacked to a temporary folder on this Mac, nothing is uploaded; bring your own licensed copy, Atlas does not include paid themes), and exports a theme as JSON or a Ghostty config. Bundled: Atlas Dark/Light, Dracula, Alucard, One Dark/Light |
keymap | rebind or unbind shortcuts, Zed syntax, null unbinds. See below |
{
"keymap": {
"cmd-j": null,
"cmd-shift-j": "workspace::ToggleBottomDock"
}
}
Every shortcut is a named command (workspace::ToggleLeftDock, pane::SplitRight, atlas::NewWorktree…). ⌘⇧P lists every command with its current key, and Settings → Keyboard shortcuts rebinds them with a recorder. Modifiers are ctrl, alt, shift and cmd, joined with -: cmd-shift-p, ctrl-tab, alt-cmd-left. ⌘Z, ⇧⌘Z and ⌘A are fixed by the app menu and cannot be rebound. The defaults are listed in Desktop app › Keyboard.
Workspaces, agents and notifications#
| Key | Notes |
|---|---|
workspaceDir | folder for new worktrees (default ~/.atlas/worktrees) |
branchPrefix | "git-username" (default: your git config user.name, slugified), "none" or "custom"; the prefix of branches Atlas creates |
branchPrefixCustom | the prefix used when branchPrefix is "custom" |
nestWorkspaces | "false" flattens worktree folders instead of <repo>/<name> |
defaultAgent | agent started by default in a new worktree: "omp" (default), "claude" or "codex" |
agentPermissions | "manual" (default, the agent asks before running commands or editing files) or "yolo" (never asks; use only in disposable worktrees) |
agentArgs | extra command-line arguments per agent |
notifications | { "enabled": true, "sound": true, "suppressWhenFocused": true }: native notifications for agents that finished or need you |
quickCommands | commands you can send to an agent with one click |
openServicesIn | system opens service URLs in your browser instead of the Atlas browser |
Shell, updates and onboarding#
The shell is in Settings → Integrations → Shell & links; updates are in Settings → General.
| Key | Notes |
|---|---|
shell | the shell whose environment is used for your projects, e.g. "/opt/homebrew/bin/fish". Unset = your account’s login shell. See Desktop app › Shell environment |
updates | auto-check switch, skipped version and what you have seen. Managed by the app |
| update channel | not a key: the channel is the one word in ~/.atlas/update-channel, shared with the atlas CLI (ATLAS_UPDATE_CHANNEL overrides it per process). Choose it in Settings → General → Updates → Update channel. See Desktop app › Updates |
onboarding | progress of the first-run tour and the checklist. Managed by the app |
Related files in ~/.atlas/desktop/#
| File | Content |
|---|---|
projects.json | the projects you added |
workspace.json | tabs, panes and docks per worktree. A copy that cannot be read (not JSON, empty, not a workspace) never keeps the app from opening: it is moved to workspace.json.corrupt-<unix ms>, Atlas starts with an empty workspace and a notice names the saved file |
crew-servers.json | the crew servers you registered. An unreadable copy is kept as crew-servers.json.corrupt-<unix ms> the same way |
themes/ | legacy location of your Zed theme files (still read; new ones go to ~/.atlas/themes/) |
hook-endpoint.env | loopback endpoint and token for agent hooks (new token per hostd run) |
Atlas Dark and Light#
The default theme pair. Atlas Dark is built from the maintainer’s Ghostty “Tokyo Night” custom palette (colors by enkia, MIT): its 16 ANSI colors, foreground, cursor and syntax hues are used as they are, and the UI ground is rebuilt on one blue ramp. Everything lives in apps/desktop/src/lib/themes/atlas.json; the terminal, service logs, editor and chrome all read it, and the GPU terminal’s fallback table (atlas-term colors.rs) and the .dark --ansi-* fallbacks in app.css are tests pinned to it.
Why it looks the way it does (what Dracula, Tokyo Night, Catppuccin and One share, adapted to real panels):
| Decision | Value | Reason |
|---|---|---|
| Surfaces on one hue | OKLCH hue ~262, chroma 0.029 to 0.036; #0b1320 sunken, #131c2b editor and terminal, #1d2637 raised, #273143 overlay | A single blue hue reads as one material. Chroma stays low on large areas (calm, no saturated slabs) but above 0.025 so an IPS panel with backlight glow does not turn it grey. |
| Even steps | about 4% OKLCH lightness between levels (0.186, 0.226, 0.268, 0.312) | Visible on IPS and low-contrast panels, so panels, popovers and the sidebar separate without heavy borders. |
| No pure black | the darkest surface is L 0.186 | OLED black smears and crushes shadow detail while scrolling; near-black blue keeps pixels on and gradients smooth. |
| Soft foreground | text #c0caf5 (L 0.85), never pure white | Bright text on a dark ground blooms (halation, PWM shimmer on OLED) and thins glyph edges; 12:1 on the editor is plenty. |
| Accents at equal lightness | red, orange, blue, magenta about L 0.75; yellow, green, cyan about L 0.80, chroma at most 0.15 | Dracula’s rule: fixed roles, high-saturation accents on a desaturated ground. Equal perceived lightness keeps one accent from shouting over another, and every one is 5.5:1 or more on the overlay surface. |
| sRGB-safe chroma | no accent is pushed past what sRGB holds | A P3 display shows the same color; nothing clips on sRGB or shifts on wide gamut. |
| Readable at 1x | syntax colors fitted to at least 4.7:1 on every code surface (line, selection, active line); comments #acbae2 italic | Anti-aliasing on a low-DPI panel thins light-on-dark text, so margin above AA 4.5 beats being on the line. |
| Syntax roles | keyword purple, function green, string amber, type and namespace cyan, constant orange, property blue | One hue per role everywhere (Dracula’s spec), the Tokyo hues. |
Atlas Light is its Tokyo Night Day counterpart: pale blue-grey ground (#e1e2e7), navy text, the same role-to-hue map with deeper values so every color keeps AA on the pale ground. bun run test (theme/atlasDefault.test.ts) pins the palette, the OKLCH ladder rules above and the default selection; bun scripts/contrast-audit.ts checks the rendered screens for both.