Skip to content

systray ​

System tray icons via the StatusNotifierItem protocol.

Add it to your layout with systray:

yaml
bar:
  layout:
    - monitor: "*"
      right: [systray]

General ​

FieldTypeDefaultDescription
icon-scaleSize1Tray item icon size. Accepts a scale multiplier or pixels (e.g. "20px").
item-gapSize0.25Gap between tray items. Accepts a scale multiplier or pixels (e.g. "4px").
internal-paddingSize0.5Padding at the ends of the container. Accepts a scale multiplier or pixels (e.g. "8px").
blacklistarray of string[]Glob patterns for tray items to hide.
overridesarray of TrayItemOverride[]Custom icon and color overrides.
border-showboolfalseDisplay border around container.
border-colorColorValue"border-accent"Border color token.
button-bg-colorColorValue"bg-surface-elevated"Container background color token.
More about internal-padding

Applies to left/right edges for horizontal bars, or top/bottom edges for vertical bars.

More about blacklist

Matches against item ID or title. Example: ["*discord*", "Steam"]

More about overrides

First matching override wins. Supports glob patterns.

yaml
modules:
  systray:
    overrides:
      - name: "*discord*"
        icon: si-discord-symbolic
        color: blue

Default configuration ​

yaml
modules:
  systray:
    icon-scale: 1.0
    item-gap: 0.25
    internal-padding: 0.5
    blacklist: []
    overrides: []
    border-show: false
    border-color: border-accent
    button-bg-color: bg-surface-elevated

Released under the MIT License.