Skip to main content
dx uses config.toml (or config.yaml/config.json) files to customize behavior. Configuration can be set globally (~/.dx/config.toml) or per-project (./config.toml).

Configuration Files

dx looks for configuration in this order:
  1. Local project: config.toml, config.yaml, or config.json in current directory
  2. Global: ~/.dx/config.toml, ~/.dx/config.yaml, or ~/.dx/config.json
Project configuration overrides global settings when allow_project_override is true (default).

Basic Settings

boolean
default:"true"
Allow local ./config.toml to override global ~/.dx/config.toml settings.
boolean
default:"true"
Enable global Markdown rendering. Can be toggled per-file with m key.
boolean
default:"true"
Dim baseline text in output view for better readability.
boolean
default:"true"
Display FPS counter in status bar for performance monitoring.

MOTD Settings

boolean
default:"true"
Enable soft-wrap for MOTD Markdown content.
string
Hex color for MOTD text. Examples: "#3B82F6", "#10B981"

Theme Settings

string
default:"dark"
Base color theme. Options: "dark" or "light"
string
Path to external YAML theme file (should end with .dx-theme)
object
Key-value pairs to override specific theme tokens
string
Directory containing *.dx-theme files for theme selection

Status Bar

object
Configuration for the bottom status bar
Example:

Telemetry

object
Optional telemetry for failed command logs
Example:

Auto-Update

object
Automatic build and relaunch configuration
Example:

Asciinema Integration

object
Recording and live streaming configuration
Example:

Complete Example