mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 03:01:04 +02:00
76 lines
1.8 KiB
Markdown
76 lines
1.8 KiB
Markdown
Displays a fully interactive icon tray using the KDE `libappindicator` protocol.
|
|
|
|

|
|
|
|
## Configuration
|
|
|
|
> Type: `tray`
|
|
|
|
|
|
| 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 |
|
|
|
|
<details>
|
|
<summary>JSON</summary>
|
|
|
|
```json
|
|
{
|
|
"end": [
|
|
{
|
|
"type": "tray",
|
|
"direction": "top_to_bottom"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>TOML</summary>
|
|
|
|
```toml
|
|
[[end]]
|
|
type = "tray"
|
|
direction = "top_to_bottom"
|
|
```
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>YAML</summary>
|
|
|
|
```yaml
|
|
end:
|
|
- type: "tray"
|
|
direction: "top_to_bottom"
|
|
```
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary>Corn</summary>
|
|
|
|
```corn
|
|
{
|
|
end = [
|
|
{
|
|
type = "tray"
|
|
direction = "top_to_bottom"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
</details>
|
|
|
|
## Styling
|
|
|
|
| Selector | Description |
|
|
|---------------|------------------|
|
|
| `.tray` | Tray widget box |
|
|
| `.tray .item` | Tray icon button |
|
|
|
|
For more information on styling, please see the [styling guide](styling-guide).
|