Freezer - tmuxp.workspace.freezer

Tmux session freezing functionality for tmuxp.

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

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

Parameters:

workspace_dict (dict)

Returns:

workspace with shorthands inlined.

Return type:

dict

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

Freeze live tmux session into a tmuxp workspace.

Parameters:

session (libtmux.Session) – session object

Returns:

tmuxp compatible workspace

Return type:

dict