Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watcher ¶
func Watcher(c config.Config, data chan<- I3Instruction)
Types ¶
type I3Instruction ¶
type I3Instruction struct {
Data string `json:"-"`
CMD []types.I3Cmd `json:"-"`
Workspace string `json:"-"`
Marks []MarkID `json:"marks"`
Layout []LayoutInstruction `json:"layouts"`
}
func (I3Instruction) Run ¶
func (i I3Instruction) Run() types.Result
type LayoutInstruction ¶
func GetLayoutInstructions ¶
func GetLayoutInstructions(node *i3.Node, i3inst I3Instruction) []LayoutInstruction
type MarkID ¶
type MarkID struct {
ID string `json:"id"`
UUID string `json:"uuid"`
Layout types.LayoutType `json:"layout"`
ParentNode string `json:"parent-node"`
IsParent bool `json:"is-parent"`
ContainerLayout types.LayoutType `json:"container-layout"`
Depth int `json:"depth"`
Workspace string `json:"workspace"`
}
func GetMarkIDs ¶
Click to show internal directories.
Click to hide internal directories.