util

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 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