Skip to content

WrapWorkspaceProps

Attributes:

attr Workspace

Workspace: WorkspaceProps

Type: WorkspaceProps

A native component within hitokage that displays workspace information.

This is in the particular context of running hitokage with a window/tiling manager:

See ComponentProps

Example

monitor = hitokage.monitor.get_primary()

---@type WorkspaceProps
workspace_props = { Workspace = { halign = "Start", item_height = 24, item_width = 24 } }

monitor:attach({
  children = {
    Workspace = workspace_props,
  },
})

The mounted API is documented here: Workspace