Workspace ManagerconceptExamples

Choose documentation 3

v0.1.0.alpha.3

Current version

v0.1.0.alpha.3
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Edit this page on GitHub

Ruby workspace examples

libtmux-workspace 0.1.0.alpha.3 · Source

Save this as workspace.yaml:

session_name: work
environment:
PROJECT_MODE: development
windows:
- window_name: editor
window_index: 1
layout: tiled
panes:
- shell_command: printf 'editor ready\n'
- {}

Run libtmux-workspace validate workspace.yaml, inspect libtmux-workspace plan --json workspace.yaml, then pass an owned socket to load. Relative directories resolve against the configuration file.

The source-owned workspace guide links the installed-package example that checks inert planning, apply, and guarded compensation.

Esc

Type to search.

Reference preview Open reference