# Tray (https://mangowm.github.io/docs/bar/modules/tray)

StatusNotifierItem system tray (DBusMenu), with a side-opening context menu.
Right-click a tray item with a menu to open it; clicking outside closes it.

```jsonc
"modules-right": ["tray"],

"tray": {
    "icon-size": 25,
    "spacing": 10
}
```

## Options [#options]

| Option      | Type     | Default | Description            |
| ----------- | -------- | ------- | ---------------------- |
| `icon-size` | int (px) | auto    | Tray icon size         |
| `spacing`   | int (px) | `4`     | Gap between tray icons |

## Styling [#styling]

```css
#tray {
  background: linear-gradient(to top, #504945, mix(#504945, #fbf1c7, 0.3));
}
```