T-Strip reads ~/.config/tst/config.toml. You can override the location with -config PATH or by setting XDG_CONFIG_HOME.
Run ./tst --print-config to see every option with comments.
The built-in defaults are always loaded first, then your file is layered on top. This means:
[keys], [bar.widgets]) merge key by key β you cannot delete a default entry. To remove a shortcut, rebind it to "none".Changes take effect when the session server restarts. After editing, run:
tst kill main && tst
Or start a new session.
πΈ Screenshot coming here: A minimal
config.tomlwith just a few lines. π¬ Video coming here: Editingconfig.toml, restarting the session, and seeing the change.
leader = "alt"
[bar]
right = ["time"]
[theme]
focus_border = "#88c0d0"
This changes only the leader, the barβs right widgets, and the focused border color. Everything else stays at its default.
Below is essentially the output of ./tst --print-config. Keep this page in sync when the defaults change.
leader = "alt" # alt | super | ctrl | ctrl+alt | β¦
extended_keys = "auto" # auto (on when leader needs it) | on | off
shell = "" # $SHELL by default
mouse = true
animate = true
animation_speed = 18.0 # higher = snappier
fps = 60 # clamped to 10..240
scroll_mode = "fit" # fit | center
overview_scale = 0.3 # 0.15 - 0.6
border_style = "single" # single | double | heavy | ascii
column_widths = [0.33, 0.5, 0.66, 1.0]
default_column_width = 0.5
resize_step = 0.05
scrollback_lines = 10000 # 0 disables history
prefix = "" # e.g. "ctrl+b" to enable tmux-style prefix mode
[bar]
position = "bottom" # top | bottom | hidden
interval = 1.0 # widget refresh, seconds
separator = " β "
left = ["session", "workspaces", "columns", "mode"]
center = ["message"]
right = ["cpu", "mem", "net", "battery", "time", "help"]
time_format = "15:04" # Go time layout
date_format = "Jan 2"
mem_style = "used" # used | percent | both
[theme]
border = "#4c566a"
focus_border = "#88c0d0"
title = "#81a1c1"
focus_title = "#eceff4"
status_bg = "#2e3440"
status_fg = "#d8dee9"
accent = "#88c0d0"
selection_bg = "#5e81ac"
selection_fg = "#eceff4"
[keys]
"leader+h" = "focus_left"
# β¦ (full table in [Key Bindings](Key-Bindings))
[prefix_keys]
| Option | Default | Meaning |
|---|---|---|
leader |
alt |
The modifier in every leader+β¦ binding. super/ctrl need a terminal that speaks the kitty keyboard protocol. Plain terminals cannot send super, and ctrl+h/i/j/m overlap backspace/tab/enter, so alt is the safe default. |
extended_keys |
auto |
on always requests the extended keyboard protocol, off never, auto enables it when the leader or any binding needs it. |
shell |
$SHELL |
The program each empty pane runs. |
mouse |
true |
Master switch for all mouse handling. |
animate |
true |
Smooth scroll / zoom / column-resize animation. |
animation_speed |
18.0 |
Higher = snappier. |
fps |
60 |
Render tick rate; clamped to 10..240. |
scroll_mode |
fit |
fit (PaperWM) or center (always centered). |
overview_scale |
0.3 |
Overview zoom; clamped to 0.15..0.6. |
border_style |
single |
single, double, heavy, or ascii. |
column_widths |
[0.33, 0.5, 0.66, 1.0] |
Presets for cycle_width. |
default_column_width |
0.5 |
Width fraction of a new column. |
resize_step |
0.05 |
Step for grow/shrink. |
scrollback_lines |
10000 |
History lines per pane (0 disables). |
wallpaper |
"default" |
Wallpaper behind panes: "default" (wallpaper.toml), another file from the same folder, or "none". |
prefix |
empty | tmux-style prefix chord; enables [prefix_keys]. |
Colours accept "#rrggbb", a 0..255 palette index, or "default" (terminal default / transparent).
| Option | Default | Meaning |
|---|---|---|
border |
#4c566a |
Inactive column border |
focus_border |
#88c0d0 |
Focused column border |
title |
#81a1c1 |
Inactive pane title |
focus_title |
#eceff4 |
Focused pane title |
status_bg |
#2e3440 |
Status bar background |
status_fg |
#d8dee9 |
Status bar text |
accent |
#88c0d0 |
Accent colour |
selection_bg |
#5e81ac |
Selected text background |
selection_fg |
#eceff4 |
Selected text colour |
[keys]
"alt+h" = "focus_left" # exact chord, ignores the leader
"leader+w" = "none" # unbind
"leader+/" = "help"
"leader+3" = "goto_workspace 3"
[prefix_keys] # only consulted after the `prefix` chord
"n" = "new_pane"
Chords are normalised: Alt+Return = alt+enter, leader+H = alt+shift+h. Single uppercase letters imply shift. Aliases (return, escape, pgup, bs, spc, β¦) map to canonical names. Modifier order in canonical chords is ctrl, alt, super, shift.
Out-of-range numbers are clamped. Unknown action names, unknown bar widgets, and an invalid bar.position produce warnings that flash in the status bar for a few seconds when the session starts. leader = "super" additionally warns if your terminal lacks the kitty protocol.
| Variable | Used for |
|---|---|
XDG_CONFIG_HOME |
Config folder (fallback ~/.config) |
XDG_RUNTIME_DIR |
Session sockets and logs (fallback temp dir) |
SHELL |
Default pane shell |
TERM / TST |
Exported into panes (TERM=xterm-256color, COLORTERM=truecolor, TST=1) |
π¬ Video coming here: Editing several options at once and restarting to see them all take effect.
Next: Status Bar explains the built-in and custom widgets.