tmux-style status-right for Tern — cpu, memory,
battery, online, disk and clock as native status-line segments, rendered with
Tern's own icons and theme tones.
(cpu) 36% (stack) 12.8GB (power) 100% (broadcast) on (gauge) 473GB (clock) Tue Oct 06 09:41
tern plugin install github.com/getpipher/tern-statusor, for development (hot-reload on save):
git clone https://github.com/getpipher/tern-status
tern plugin link tern-statusRequires Tern (closed beta) and macOS — data comes from
iostat, vm_stat, pmset, ping and df.
- Segments use Tern's semantic tones (
muted/ok/error/accent), so they follow your theme in light and dark. - Refresh cadence: cpu 5s, memory 5s, battery 30s, online 15s, disk 30s, clock 5s. Each poll re-arms itself; idle cost is one timer tick.
- Disk reads the home directory (hardcoded absolute path —
tern.process.runspawns without a shell, so~never expands). EditHOMEinwindow.luaufor your machine. - The status line shows only while the status bar is on:
⌘K→ "Show status line".