Skip to content
Jake Stanger edited this page Oct 22, 2025 · 13 revisions

Displays a fully interactive icon tray using the KDE libappindicator and com.canonical.dbusmenu protocols.

Screenshot showing icon tray widget

Configuration

Type: tray

Name Type Default Description
direction 'horizontal' or 'vertical' (shorthand: 'h' or 'v') Matches bar orientation The direction in which to pack tray icons.
icon_size integer 16 Size in pixels to display tray icons as.
prefer_theme_icons bool true Requests that icons from the theme be used over the item-provided item. Most items only provide one or the other so this will have no effect in most circumstances.
JSON
{
  "end": [
    {
      "type": "tray",
      "direction": "top_to_bottom"
    }
  ]
}
TOML
[[end]]
type = "tray"
direction = "top_to_bottom"
YAML
end:
  - type: "tray"
    direction: "top_to_bottom"
Corn
{
  end = [{
    type = "tray"
    direction = "top_to_bottom"
  }]
}

Styling

Selector Description
.tray Tray widget box
.tray .item Tray icon button
.tray .item.urgent Tray icon button (needs attention)

For more information on styling, please see the styling guide.

Clone this wiki locally