~/sot/docs/configuration
cat configuration.md
~/sotcat configuration.md

Configuration

Optional. sot runs without a config file; add one to change the defaults.

Where it lives

~/.config/sot/config.toml, following $XDG_CONFIG_HOME. sot --config-path prints the path, and a commented template when the file doesn't exist yet:

~/sotsot --config-path
~/.config/sot/config.toml (not created yet)

# sot config. Every key is optional.

# theme = "cyberpunk"          # classic, cyberpunk
# default_view = "overview"    # overview, processes, disks, system, bench, clean
# net = "en0"                  # network interface on the overview
# disk = "/"                   # mountpoint on the overview

# [refresh]                    # seconds
# cpu = 2.0
# processes = 2.0

# [clean]
# every = "daily"              # how often `sot clean --daemon` runs: hourly, daily, weekly, monthly

# [keymap]                     # binding id = keys, see `sot --keys`
# "sot.process.kill" = "ctrl+k"

Example

toml
theme = "cyberpunk"          # classic, cyberpunk
default_view = "processes"   # overview, processes, disks, system, bench, clean
net = "en0"                  # network interface on the overview
disk = "/"                   # mountpoint on the overview

[refresh]                    # seconds
cpu = 1.0
processes = 2.0

[clean]
every = "daily"              # how often `sot clean -d` runs: hourly, daily, weekly, monthly

[keymap]                     # binding id = keys, see `sot --keys`
"sot.process.kill" = "ctrl+k"
"sot.view.processes" = "p"

Settings

Key What it sets
theme Colour theme: classic or cyberpunk
default_view The view sot opens on: overview, processes, disks, system, bench or clean
net Network interface on the overview
disk Mountpoint on the overview
[refresh] How often cpu and processes refresh, in seconds
[clean] every How often sot clean -d runs: hourly, daily, weekly or monthly
[keymap] Binding id = keys; the ids are in keys

Every key is optional and invalid values are reported and ignored.

What wins

Flags win over SOT_THEME, which wins over the config file. A schedule changed in the config applies the next time you run sot clean -d.

search
↑ ↓ move↵ openEsc close
keys

The same keys as sot, where they make sense.

/ Ctrl+KSearch, jump to a page or switch theme
1-6Switch section (the windows in the status bar)
[ ]Previous / next page
j kScroll down / up
Ctrl+D Ctrl+UHalf a page down / up
g GTop / bottom
tSwitch between light and dark
?Show these keys
EscClose