Documentation ¶
Index ¶
- type Get
- func (g *Get) ActiveClient() (types.HyprlandClient, error)
- func (g *Get) ActiveMonitor(monitors []types.HyprlandMonitor) (types.HyprlandMonitor, error)
- func (g *Get) ActiveWorkspace() (types.HyprlandWorkspace, error)
- func (g *Get) ClientByClassName(clients []types.HyprlandClient, class string) (types.HyprlandClient, error)
- func (g *Get) ClientByPID(clients []types.HyprlandClient, pid int) (types.HyprlandClient, error)
- func (g *Get) Clients() ([]types.HyprlandClient, error)
- func (g *Get) MonitorByID(monitorId int) (types.HyprlandMonitor, error)
- func (g *Get) Monitors(format string) ([]types.HyprlandMonitor, error)
- func (g *Get) WorkspaceFloatingClients(workspace types.HyprlandWorkspace) ([]types.HyprlandClient, error)
- func (g *Get) Workspaces() ([]types.HyprlandWorkspace, error)
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
Click to show internal directories.
Click to hide internal directories.