Freezer - tmuxp.workspace.freezer

Tmux session freezing functionality for tmuxp.

tmuxp.workspace.freezer.inline(workspace_dict)[source]

Return workspace with inlined shorthands. Opposite of loader.expand().

Return type:

Any

Parameters:

workspace_dict (dict)

Returns:

workspace with shorthands inlined.

Return type:

dict

tmuxp.workspace.freezer.freeze(session)[source]

Freeze live tmux session into a tmuxp workspacee.

Return type:

dict[str, Any]

Parameters:

session (libtmux.Session) – session object

Returns:

tmuxp compatible workspace

Return type:

dict