#5338·Waybar

`custom` modules unaffected by `justify` settings

Author: SatanAlphabetCreated Sep 19, 2026Updated Sep 23, 2026
Labelsbugcustomsway

Describe the bug Custom modules using no longer respect the justify setting and is now only aligned to the left.

To reproduce

(Example custom/swaync used in the screenshot)

jsonc
	"custom/swaync": {
		"justify": "center",
		"format": "{icon}",
		"format-icons": {
			"notification": "",
			"none": "",
			"dnd-notification": "<sup></sup>",
			"dnd-none": "",
			"inhibited-notification": "",
			"inhibited-none": "",
			"dnd-inhibited-notification": "<sup></sup>",
			"dnd-inhibited-none": "",
		},
	},

Expected behaviour Text should be centered within the module.

Screenshots

Left: current git version of waybar Right: current release version (0.15.0)

ImageImage

Environment

Additional context

  • Yes, the niri/workspaces module is also messed up. (see #5302)
  • The custom module's label used to be a direct child of the widget in the current release version. In the current git version, it is now a child of a box (widget > box > label) instead of being a direct child (widget > label), which is a similar case to #5302 and possibly the cause of the issue.

Current git version: Image

Current release version: Image