util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoFocusedContainer   = errors.New("could not find a focused container")
	ErrNoFocusedWorkspace   = errors.New("could not find a focused workspace")
	ErrContainerNotFound    = errors.New("could not find container")
	ErrContainerNoWorkspace = errors.New("could not get workspace of container")
)

Functions

func GetFocusedCon

func GetFocusedCon() (*i3.Node, error)

func GetFocusedWS

func GetFocusedWS() (i3.NodeID, error)

func GetWorkspaceByCon

func GetWorkspaceByCon(con i3.NodeID) (i3.NodeID, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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