Workspace Manager1.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

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 previewOpen reference