1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
(top-level)=
(top-level-config)=
# Top-level configuration
## `session_name`
Used for:
- tmux session name
- checking for existing sessions
Notes:
- Session names may differ from workspace filename.
e.g. _apple.yaml_:
```yaml
session_name: banana
windows:
- panes:
-
```
Load detached:
```console
$ tmuxp load ./apple.yaml -d
```
Above:
- tmuxp loads a file named _apple.yaml_ from the current directory.
- tmuxp built a tmux session called _banana_.
- `-d` means _detached_, loading in background.
```console
$ tmux attach -t banana
```
Above: Use `tmux` directly to attach _banana_.
|