Systray_Module - bakkeby/dusk GitHub Wiki

The systray module adds a system tray in the bar.

Systray.jpg

Configuration

The module is controlled by this entry in the barrules array in config.h.

{ 'A', 0, 0, 5, 5, 0, BAR_ALIGN_RIGHT, size_systray, draw_systray, click_systray, "systray" },

The spacing between systray icons can be changed via the systrayspacing configuration item in config.h.

The system tray can be explicitly disabled by commenting out the Systray option in the functionality settings in config.h.

For positioning the systray on the bar refer to the Bar Rules page.

Clicks

There is no handling of clicks on the systray module within the window manager.

Any handling of clicks on systray icons will be application specific.

Compositors

If you are using a compositor then it is recommended to avoid rendering shadows, rounded corners, and blur for the systray window (if the compositor supports those).

The class hint for the systray for the window manager is simply "systray" and here is an example configuration for picom:

  "class_g = 'systray'",

Alternatively one can also exclude the systray based on the window type like this:

  "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'",

or in more recent versions of picom:

  "window_type = 'dock'",

You should consider adding the systray to the following exclude options:

  • shadow-exclude
  • blur-background-exclude
  • rounded-corners-exclude
  • fade-exclude
  • focus-exclude

Compatibility

The systray only supports the older xembed protocol and there is no support for the appindicator protocol.

For a list of known issues or limitations refer to:

Back to Bar > Bar Modules.

⚠️ **GitHub.com Fallback** ⚠️