xdotool

package
v0.0.0-...-d97d3d1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window struct {
	Class     string
	ClassName string
	Name      string
}

Window represents a X11 window

type Xtooler

type Xtooler interface {
	WaitForWindow(ctx context.Context, w Window) ([]string, error)
	CloseWindowID(wid string) error
	PidForWindowID(wid string) (int, error)
}

Xtooler works with xdotool to perform various operations on X11 windows

func MakeXDoTool

func MakeXDoTool() Xtooler

MakeXDoTool returns a Xtooler that can interact with windows

Jump to

Keyboard shortcuts

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