Profiles and persistence
What is saved
Section titled “What is saved”btmux saves its sessions, windows, pane layouts, names, and each pane’s directory to a state file:
~/.local/state/btmux/state.jsonThe state file follows $XDG_STATE_HOME. After a restart, panes start fresh
shells in their saved directories.
btmux upgrade preserves running programs and
scrollback.
Profiles
Section titled “Profiles”A profile is a separate server with its own sessions, state file, and access token:
btmux --profile work --port 8005btmux --profile personal --port 8006A profile’s files are in ~/.local/state/btmux/<profile>/. Only one server
can run a profile at a time.