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"` }
func GetMarkIDs ¶
func GetMarkIDs(node *i3.Node) []MarkID
Click to show internal directories.
Click to hide internal directories.