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.

GroupSectionWhat is in it
AtlasGeneralUpdates: the app, the atlas CLI and the terminal host, the release channel they follow, and the display language
AppearanceTheme (light, dark, terminal), import and export, accent color, zoom, interface font, file panel, split panes
Notifications & soundsNotifications 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 shortcutsRebind or remove the key of any command
Help & onboardingThe guided tour, the shortcut cheat sheet, the getting-started checklist
WorkWorkspacesWhere worktrees are created, branch name prefix, auto clean up, clean up by hand, hygiene (orphaned processes and disk)
EditorTabs Editor (code font, editing, display) and Languages (language servers)
TerminalRenderer, font, cursor, padding, scrollback, clipboard
GitWhich agent writes commit messages
AgentsDefault agent, tool approval, extra arguments, the agent dock (switch and hotkeys), custom agents, quick commands
ConnectIntegrationsTabs Shell & links, Agent hooks, SSH hosts and Mobile
Atlas CrewConnect 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:

  1. Put an item(id, label, description, keywords?, ...aliases) in the right group of registry.ts. The id never changes afterwards.
  2. 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 linkOpens
terminal, integrationsa section (the first tab for a tabbed one)
editor/languagesa 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 unknownthe first section

Editor and interface#

KeyDefaultNotes
buffer_font_familyui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospacecode editor font
buffer_font_size12.56 to 48
buffer_line_height1.551 to 3
ui_font_family-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serifinterface font
ui_font_size139 to 24
project_panel.dock"left"left or right: which side the file panel sits on
project_panel.file_iconstrueMaterial Icon Theme file icons
project_panel.folder_iconstrue
project_panel.indent_size124 to 40 px
active_pane_modifiers.border_size00 to 8 px border around the active pane
active_pane_modifiers.inactive_opacity10.2 to 1; lower dims inactive panes
enable_language_serverstruelanguage servers (completion, diagnostics, hover, go to definition)
format_on_savefalseformat with the language server when saving
inlay_hints.enabledtrueinferred types and parameter names shown inline

Code editor#

Settings → Editor.

KeyDefaultNotes
editor.tab_size41 to 16 columns
editor.insert_spacestrueTab inserts spaces; false inserts tab characters
editor.word_wrapfalsewrap long lines at the edge of the editor
editor.render_whitespace"none"none, selection or all
editor.line_numberstrue
editor.minimapfalse
editor.sticky_scrolltruekeeps the enclosing function or class pinned while you scroll its body
editor.bracket_pair_colorizationtrue
editor.indent_guidestrue
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_linetrue
editor.trim_trailing_whitespace_on_savetrue
editor.insert_final_newline_on_savetrue
editor.large_file_threshold_bytes2000000100000 to 100000000; bigger files open in a light mode without language features
editor.scroll_past_endfalse
editor.smooth_scrollingtrue
editor.auto_reloadtruereload 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 }
  }
}
KeyNotes
lsp.<language>.commandrun 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>.argsarguments for command
lsp.<language>.initialization_optionsJSON object sent to the server once, when it starts
lsp.<language>.settingsJSON object sent as the server’s workspace configuration
lsp.<language>.disabledtrue 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#

KeyDefaultNotes
terminal.font_familySF Mono, Menlo, Cascadia Mono, Consolas, ui-monospace, monospaceCSS 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_thickenfalsedraw text slightly heavier (Ghostty font-thicken; xterm.js uses weights 500/700); applies live
terminal.font_size12.56 to 48; applies live
terminal.cursor_shape"block"block, bar, underline or hollow
terminal.blinkingfalse
terminal.max_scroll_history_lines100000 to 100000
terminal.scrollback_bytes671088641 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.ligaturestrueGPU terminal
terminal.minimum_contrast4.51 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_chosenfalseWritten 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_selecttrueGPU terminal
terminal.option_as_alt"both"both, left, right or none. GPU terminal
terminal.click_to_movetruea click on the prompt moves the cursor (needs shell integration). GPU terminal
terminal.padding_x100 to 64 pt; inset left and right of the terminal. The margin uses the terminal theme’s background
terminal.padding_y60 to 64 pt; inset above and below

The GPU terminal itself is switched with Settings → Terminal → Fast terminal (GPU).

Theme and shortcuts#

KeyNotes
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
keymaprebind 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#

KeyNotes
workspaceDirfolder 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
branchPrefixCustomthe prefix used when branchPrefix is "custom"
nestWorkspaces"false" flattens worktree folders instead of <repo>/<name>
defaultAgentagent 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)
agentArgsextra command-line arguments per agent
notifications{ "enabled": true, "sound": true, "suppressWhenFocused": true }: native notifications for agents that finished or need you
quickCommandscommands you can send to an agent with one click
openServicesInsystem 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.

KeyNotes
shellthe 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
updatesauto-check switch, skipped version and what you have seen. Managed by the app
update channelnot 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
onboardingprogress of the first-run tour and the checklist. Managed by the app
FileContent
projects.jsonthe projects you added
workspace.jsontabs, 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.jsonthe 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.envloopback 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):

DecisionValueReason
Surfaces on one hueOKLCH hue ~262, chroma 0.029 to 0.036; #0b1320 sunken, #131c2b editor and terminal, #1d2637 raised, #273143 overlayA 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 stepsabout 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 blackthe darkest surface is L 0.186OLED black smears and crushes shadow detail while scrolling; near-black blue keeps pixels on and gradients smooth.
Soft foregroundtext #c0caf5 (L 0.85), never pure whiteBright 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 lightnessred, orange, blue, magenta about L 0.75; yellow, green, cyan about L 0.80, chroma at most 0.15Dracula’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 chromano accent is pushed past what sRGB holdsA P3 display shows the same color; nothing clips on sRGB or shifts on wide gamut.
Readable at 1xsyntax colors fitted to at least 4.7:1 on every code surface (line, selection, active line); comments #acbae2 italicAnti-aliasing on a low-DPI panel thins light-on-dark text, so margin above AA 4.5 beats being on the line.
Syntax roleskeyword purple, function green, string amber, type and namespace cyan, constant orange, property blueOne 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.