Config files

Brief

Terminal Delight keeps its settings in ~/.config/terminal-delight/, its records in ~/.local/state/terminal-delight/, and its sockets in your runtime directory. $XDG_CONFIG_HOME, $XDG_STATE_HOME and $XDG_RUNTIME_DIR move them.

The files you're likely to edit by hand are theme.toml and skin.toml, and both are picked up the moment you save. Everything else is written by the app when you change something in it: the session layouts, launch defaults, notification settings, favourites, and which logo goes with which directory.

Technical lists every file, what writes it and what reads it.

Technical

Files

~/.config/terminal-delight/#

FileHoldsWritten byReloads live
sessions/<name>.tomlA session: tabs, layout, directories, resume commands, notes, the left bar, MCP policy, language. See Sessions.the session host
sessions/backups/<name>/The last ten versions of that file.the session host
theme.tomlYour own theme, custom. See Themes.youyes, within a third of a second
skin.tomlYour own chrome skin. See Skins.youyes
launch.tomlWhat a new agent opens with. See Launching an agent.the launcherread at start
notifications.tomlWhat a finished agent may do to the desktop. See Attention.the 🔔 panelyes, every two seconds
dir-logos.tomlDirectory to logo image; the nearest parent directory wins.the logo pickeryes, every two seconds
favourites.tomlStarred palettes and colour sets, in shelf order.the paint overlaywhen the overlay opens
documents.tomlWhich engine draws HTML documents.you
tool-props.tomlYour additions to the table of which logo a tool shows.you
plugins/<name>/plugin.jsonA plugin. See Plugins.youeach time the panel opens
marks/<id>.svgYour own logo for a subscription's usage row.you
state.tomlThe single session file older builds wrote. Moved into sessions/ on upgrade.older builds

TD_THEME and TD_SKIN point the theme and skin at other files.

~/.local/state/terminal-delight/#

PathHolds
surfaces/<session>/<pane>/The workbench's surfaces, up to 512 per pane, and the agent channel's files: actions.jsonl, inbound.jsonl, outbound.jsonl, answers/, bench.json.
conversations/The bench's record, kept by conversation, so it outlives windows.
agents/usage/<id>.jsonOne usage record per subscription. See Usage and vitals.
agent-ledger/Which conversation each agent process is in, written by the recovery hook. This one is always under ~/.local/state, whatever $XDG_STATE_HOME says.
brief-backups/Copies taken when notes on a document are saved.

Elsewhere#

PathHolds
$XDG_RUNTIME_DIR/terminal-delight/ctl-<pid>.sock per window; session-<name>.sock, .log, .tag and .window per session host.
$XDG_CACHE_HOME/terminal-delight/pages/Rendered HTML documents.
~/.local/share/context-delight/Harvested sessions, as .cdx.

Files that hold your working directories and resume commands are owner-only (0600) in owner-only directories (0700). To clear what Terminal Delight remembers, delete sessions/. The finish bell has no file: its sound is built in.

Sources

  1. The config root: instance.rs; each file's reader is named in the source beside it: theme.rs, skin.rs, launchpref.rs, notifpref.rs, dirlogo.rs, fav.rs, surfacefeed.rs, benchstore.rs, usage.rs.