Six shell scripts used to run every second for my tmux status bar. This is what replaced them: one daemon on a unix socket, so the bar is a single #() call and a cold git status costs 51 ms once after a restart instead of on every redraw.
What’s in the four minutes: the bar following the branch, keys searching every binding you’ve written, the cheat sheet, the project picker, a session built from [[layout]], new-window, run pulling a command out of shell history into a pane that slides out beside you, open on the path under the cursor in copy mode, prompt marks, suspended jobs, notify, closing a project, zen, 151 themes and doctor.
Every chord in the right-hand column was really pressed, through send-keys -K into the client, so the popups are the real ones and not a reconstruction. Recorded at 160x44 with Fira Code patched with Nerd Fonts.
Source, the annotated tmux.conf and what each block costs: https://github.com/lonkar-org/tmux-companion