Skip to content

regression: wildcard includes are broken after v0.14.0 #4354

@agorgl

Description

@agorgl

It seems that after waybar version 0.14.0 wildcard includes no longer work properly.
The observed behavior is that only the first matched configuration from the wildcard seems to be included.

Simple poc follows.

Sample configuration tree:

.
├── config.jsonc
└── modules
    ├── cpu.jsonc
    └── memory.jsonc

Sample config.jsonc

// config.jsonc
{
  "height": 26,
  "spacing": 14,
  "include": [
    "modules/*.jsonc"
  ],
  "modules-left": ["cpu", "memory"]
}

Sample modules/cpu.jsonc

// modules/cpu.jsonc
{
  "cpu": {
    "interval": 2,
    "format": "goo: {usage}%"
  }
}

Sample modules/memory.jsonc

// modules/memory.jsonc
{
  "memory": {
    "interval": 2
    "format": "foo: {used:0.1f}G",
  }
}

waybar 0.13.0 result:
Image

waybar 0.14.0 result:
Image

As you can see the memory module configuration in the waybar version 0.14.0 is not applied.
Possibly caused by: #4333

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions