Skip to content

systemd-failed-units: Module is blank if using systemd_state #4794

@BBaoVanC

Description

@BBaoVanC

Using Arch Linux with waybar 0.14.0-6.

If I add {systemd_state} to the format field, then the entire module just becomes blank; I can only see 1 pixel wide of the background color and no text.

Minimal broken config:

{
	"height": 32,
	"spacing": 4,
	"modules-left": [
		"systemd-failed-units",
	],
	"systemd-failed-units": {
		"format": "system: {systemd_state}, user: {user_state}, overall: {overall_state}",
	},
}

Minimal working config:

{
	"height": 32,
	"spacing": 4,
	"modules-left": [
		"systemd-failed-units",
	],
	"systemd-failed-units": {
		"format": "user: {user_state}, overall: {overall_state}",
	},
}

Pictures (done with my custom style, but it does happen even with those files deleted):

Working:

bar with red background colored module on left with text saying "user: degraded, overall: degraded"

Broken:

blank bar, with one pixel wide sliver of the module visible, but no text

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions