get

package
v0.0.0-...-15ec21f Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Get

type Get struct{}

func (*Get) ActiveClient

func (g *Get) ActiveClient() (types.HyprlandClient, error)

ActiveClient returns the active HyprlandClient

func (*Get) ActiveMonitor

func (g *Get) ActiveMonitor(monitors []types.HyprlandMonitor) (types.HyprlandMonitor, error)

ActiveMonitor returns the active HyprlandMonitor

func (*Get) ActiveWorkspace

func (g *Get) ActiveWorkspace() (types.HyprlandWorkspace, error)

ActiveWorkspace returns the active HyprlandWorkspace

func (*Get) ClientByClassName

func (g *Get) ClientByClassName(clients []types.HyprlandClient, class string) (types.HyprlandClient, error)

ClientByClassName returns the HyprlandClient by its HyprlandClient.Class

func (*Get) ClientByPID

func (g *Get) ClientByPID(clients []types.HyprlandClient, pid int) (types.HyprlandClient, error)

ClientByPID returns the HyprlandClient by its HyprlandClient.Pid

func (*Get) Clients

func (g *Get) Clients() ([]types.HyprlandClient, error)

Clients returns all HyprlandClient

func (*Get) MonitorByID

func (g *Get) MonitorByID(monitorId int) (types.HyprlandMonitor, error)

MonitorByID return HyprlandMonitor for given HyprlandMonitor.Id

func (*Get) Monitors

func (g *Get) Monitors(format string) ([]types.HyprlandMonitor, error)

Monitors returns all HyprlandMonitor

func (*Get) WorkspaceFloatingClients

func (g *Get) WorkspaceFloatingClients(workspace types.HyprlandWorkspace) ([]types.HyprlandClient, error)

WorkspaceFloatingClients returns all HyprlandClient that have HyprlandClient.Floating parameter set to true

func (*Get) Workspaces

func (g *Get) Workspaces() ([]types.HyprlandWorkspace, error)

Workspaces returns all HyprlandWorkspace

Jump to

Keyboard shortcuts

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