Config File
jolt stores its configuration in a TOML file that persists your preferences across sessions.
Config Location
Section titled “Config Location”The config file is located at:
macOS:
~/Library/Application Support/jolt/config.tomlLinux:
~/.config/jolt/config.tomljolt creates this file automatically with default values on first run.
Managing Config
Section titled “Managing Config”# Show current configurationjolt config
# Show config file pathjolt config --path
# Reset to defaultsjolt config --reset
# Open in your $EDITORjolt config --editConfiguration Options
Section titled “Configuration Options”Appearance
Section titled “Appearance”# Theme appearance mode: "auto", "dark", or "light"appearance = "auto"
# Active theme nametheme = "default"Refresh Rate
Section titled “Refresh Rate”# Update interval in milliseconds (min: 100, max: 10000)refresh_ms = 1000Lower values = more responsive but higher CPU usage.
Process Display
Section titled “Process Display”[processes]# Show child processes expanded by defaultexpand_all = false
# Maximum processes to displaymax_visible = 20
# Sort by: "energy", "cpu", "name", "pid"sort_by = "energy"
# Sort direction: "desc" or "asc"sort_direction = "desc"Graph Settings
Section titled “Graph Settings”[graph]# Default metric: "battery" or "power"default_metric = "battery"
# Show graph panelvisible = true
# Graph height in rowsheight = 8Panel Visibility
Section titled “Panel Visibility”[panels]battery = truepower = trueprocesses = truegraph = trueHistory Settings
Section titled “History Settings”[history]# Enable historical data collectionenabled = true
# Retention period in daysretention_days = 30
# Sample interval for storage (seconds)sample_interval = 60Full Example Config
Section titled “Full Example Config”appearance = "auto"theme = "dracula"refresh_ms = 1000
[processes]expand_all = falsemax_visible = 25sort_by = "energy"sort_direction = "desc"
[graph]default_metric = "power"visible = trueheight = 10
[panels]battery = truepower = trueprocesses = truegraph = true
[history]enabled = trueretention_days = 30sample_interval = 60In-TUI Config Editor
Section titled “In-TUI Config Editor”Press c in jolt to open the config editor, which provides a visual interface for changing settings without editing the file directly.
Changes made in the config editor are saved immediately to the config file.
Environment Variables
Section titled “Environment Variables”Some settings can be overridden with environment variables:
| Variable | Description |
|---|---|
JOLT_CONFIG | Custom config file path |
JOLT_THEME | Override theme |
JOLT_APPEARANCE | Override appearance mode |
Example:
JOLT_THEME=nord jolt