The status bar is one screen row. It sits at the top or bottom (or is hidden) and shows useful information in three groups: left, center, and right.
[bar]
position = "bottom" # top | bottom | hidden
left = ["session", "workspaces", "columns", "mode"]
center = ["message"]
right = ["cpu", "mem", "net", "battery", "time", "help"]
leader+b shows or hides the whole bar.📸 Screenshot coming here: The status bar at the bottom with left, center, and right groups. 🎬 Video coming here: Clicking workspace tabs, hiding/showing the bar with
leader+b.
| Widget | Shows |
|---|---|
session |
The current session name |
workspaces |
One clickable tab per non-empty workspace, plus the current one |
columns |
Focus position (filled/dim blocks per column, e.g. 2/3) |
mode |
Scroll-back depth (↑N), copy mode / prefix / overview badges, centered when scroll mode is center |
message |
Transient notifications (copy counts, spawn errors, config warnings…) |
title |
Title of the focused pane (its set title, else its command name) |
help |
The chord bound to the help action |
cpu |
Busy percentage; red at 90% or higher |
mem |
Memory use (3.1G/7.7G, 41%, or both depending on mem_style) |
net |
Network speed (↓1.2K ↑300B per second, all interfaces except lo) |
battery |
Percent, + while charging/full; red at 20% or lower when discharging |
load |
1-minute load average |
time / date |
Formatted with time_format / date_format (Go layout) |
host / user |
Hostname / $USER |
cpu/mem/net/battery/load read /proc and /sys on Linux and hide themselves where those files don’t exist (macOS, restricted Android). Custom widgets keep working everywhere.
Refresh rate is bar.interval (seconds, minimum 0.2).
📸 Screenshot coming here: Each widget in turn, labelled. 🎬 Video coming here: The bar updating in real time.
Any shell command can be a widget. The first line of its output is shown, trimmed to 60 characters:
[bar.widgets.weather]
command = "curl -s 'wttr.in/?format=%t'"
interval = 600 # seconds; minimum 5
prefix = "☀ " # text drawn before the output
color = "#ebcb8b" # any colour accepted by the theme
[bar.widgets.tbat]
command = "termux-battery-status | jq -r '\"bat \\\\(.percentage)%\"'"
interval = 30
Then add the name to left, center, or right:
[bar]
right = ["cpu", "mem", "weather", "time", "help"]
Notes:
interval.unknown bar widget: NAME).sh -c under a timeout equal to their interval, so a hung command cannot hang the bar forever.📸 Screenshot coming here: A custom
weatherwidget showing the temperature in the bar. 🎬 Video coming here: Adding a custom widget toconfig.tomland seeing it appear.