2022-11-06 22:52:21 +00:00
Displays a fully interactive icon tray using the KDE `libappindicator` protocol.

## Configuration
> Type: `tray`
2024-02-12 23:57:27 +01:00
2024-02-25 17:13:28 +00:00
| Name | Type | Default | Description |
|-------------|-----------|-----------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
| `direction` | `string` | `left_to_right` if bar is horizontal, `top_to_bottom` otherwise | Direction to display the tray items. Possible values: `top_to_bottom` , `bottom_to_top` , `left_to_right` , `right_to_left` |
| `icon_size` | `integer` | `16` | Size in pixels to display tray icons as |
2022-11-06 22:52:21 +00:00
< details >
< summary > JSON< / summary >
```json
{
"end": [
{
2024-02-12 23:57:27 +01:00
"type": "tray",
"direction": "top_to_bottom"
2022-11-06 22:52:21 +00:00
}
]
}
```
< / details >
< details >
< summary > TOML< / summary >
```toml
[[end]]
type = "tray"
2024-02-12 23:57:27 +01:00
direction = "top_to_bottom"
2022-11-06 22:52:21 +00:00
```
< / details >
< details >
< summary > YAML< / summary >
```yaml
end:
- type: "tray"
2024-02-12 23:57:27 +01:00
direction: "top_to_bottom"
2022-11-06 22:52:21 +00:00
```
< / details >
< details >
< summary > Corn< / summary >
```corn
{
end = [
2024-02-12 23:57:27 +01:00
{
type = "tray"
direction = "top_to_bottom"
}
2022-11-06 22:52:21 +00:00
]
}
```
< / details >
## Styling
| Selector | Description |
|---------------|------------------|
2023-05-06 00:40:06 +01:00
| `.tray` | Tray widget box |
| `.tray .item` | Tray icon button |
2024-02-12 23:57:27 +01:00
For more information on styling, please see the [styling guide ](styling-guide ).