Skip to content

Invalid Hyprland configuration generated with hyprbars #28

@madprogrammer

Description

@madprogrammer

Hyprbars file uses "plugin:hyprbars" syntax to add hyprbars configuration to the Hyprland configuration file:

However, valid syntax is to use two nested sections, see https://github.com/hyprwm/hyprland-plugins/tree/main/hyprbars:

plugin {
  hyprbars {
    ...
  }
}

Using plugin:hyprbars syntax makes Hyprland incorrectly parse the section which may follow after plugin:hyprbars in the configuration file (in my case xwayland), and skip the values defined there, because of this section parsing code:
https://github.com/hyprwm/Hyprland/blob/ea7569d7e0941d19f5f469a5fbb79bc0fa62b935/src/config/ConfigManager.cpp#L1550

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions