tmuxp

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layout

type Layout struct {
	Windows []Window `yaml:"windows"`
}

func ReadLayoutFromFile

func ReadLayoutFromFile(filePath string) (*Layout, error)

func Simple

func Simple(name string, path string) Layout

type LayoutType

type LayoutType string
const (
	EvenHorizontal LayoutType = "even-horizontal"
	EvenVertical   LayoutType = "even-vertical"
	MainHorizontal LayoutType = "main-horizontal"
	MainVertical   LayoutType = "main-vertical"
	Tiled          LayoutType = "tiled"
)

type Pane

type Pane struct {
	ShellCommand []string `yaml:"shell_command"`
	Focus        bool     `yaml:"focus"`
}

type Window

type Window struct {
	Name           string     `yaml:"window_name"`
	Layout         LayoutType `yaml:"layout"`
	StartDirectory string     `yaml:"start_directory"`
	Panes          []Pane     `yaml:"panes"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL