Workspace ManagerstableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

tmuxp.workspace.finders.get_workspace_dir

tmuxp.workspace.finders.get_workspace_dir () → str

Return tmuxp workspace directory.

Description#

TMUXP_CONFIGDIR environmental variable has precedence if set. We also evaluate XDG default directory from XDG_CONFIG_HOME environmental variable if set or its default. Then the old default ~/.tmuxp is returned for compatibility.

Returns

str : absolute path to tmuxp config directory

Esc

Type to search.

Reference preview Open reference