swaymsg

package
v0.0.0-...-7da075e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Executable = "swaymsg"

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrFocusWindowFailed

type ErrFocusWindowFailed struct {
	Output string
	Cause  error
}

func (*ErrFocusWindowFailed) Error

func (e *ErrFocusWindowFailed) Error() string

type ErrGetTreeFailed

type ErrGetTreeFailed struct {
	Output string
	Cause  error
}

func (*ErrGetTreeFailed) Error

func (e *ErrGetTreeFailed) Error() string

type FocusWindow

type FocusWindow struct {
	Id int
}

func (*FocusWindow) Send

func (f *FocusWindow) Send() ([]byte, error)

type GetTree

type GetTree struct {
}

func (*GetTree) Send

func (f *GetTree) Send() ([]byte, error)

type Swaymsg

type Swaymsg interface {
	Send() ([]byte, error)
}

func NewFocusWindowMessage

func NewFocusWindowMessage(id int) Swaymsg

func NewGetTree

func NewGetTree() Swaymsg

Jump to

Keyboard shortcuts

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