`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)
"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)
Environment
- Waybar version v0.15.0-1015-g1687ec72 (branch 'master')
- Installed from AUR as
waybar-git - niri 26.04 (custom build with https://github.com/niri-wm/niri/pull/3246)
- also tested on Hyprland & umbriel
Additional context
- Yes, the
niri/workspacesmodule is also messed up. (see #5302) - The
custommodule'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:
Current release version:
Source: Alexays/Waybar