Skip to content

hyprbars: icons appear on incorrect buttons #633

@sgtlaggy

Description

@sgtlaggy

Icons appear to slide/shift/collapse outward, filling in any buttons without icons instead of staying attached to the button they're assigned.
Some invisible characters like em space (U+2003) can currently be used to get around this.

Example 1:

plugin {
    hyprbars {
        enabled = true
        hyprbars-button = rgb(ff4040), 10, ,
        hyprbars-button = rgb(eeee11), 10, ,
        hyprbars-button = rgb(00ffff), 10, ,
        hyprbars-button = rgb(ff00ff), 10, ⛌,
    }
}

Here it's expected the magenta button is the only one with an icon but it is instead applied to the red button.
Image

Example 2:
Just added (maximize, partially filled square) from the config sample to the yellow (second) button.

        hyprbars-button = rgb(eeee11), 10, ,

Here it's expected the red and cyan buttons are empty while the yellow and magenta buttons have icons.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions