Workspace ManagerconceptExamples

Choose documentation 3

v0.1.1

Current version

v0.1.1
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Edit this page on GitHub

Ruby workspace examples

libtmux-workspace 0.1.1 · 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 previewOpen reference