i3qws

package
v0.0.0-...-b3ea8d0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I3qws

type I3qws struct {
	// contains filtered or unexported fields
}

I3qws is a synchronized window list with additional exported methods

func DoSpy

func DoSpy(ctx context.Context, markFormat string) *I3qws

DoSpy starts spy for i3wm windows events

func (*I3qws) DumpList

func (q *I3qws) DumpList() []*i3.Node

DumpList dumps windows list

func (*I3qws) Focus

func (q *I3qws) Focus(num int) (*i3.Node, error)

Focus will bring to front window with number `num`. `num` starts from 0 — the first window, focused, 1 — the second one, last time focused and so on if `num` is negative, it should count from the end

Jump to

Keyboard shortcuts

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