Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Certain symbols move entire widget off-baseline

Open JoJoDeveloping opened this issue 2 years ago • 0 comments

Hi,

if I use certain symbols in my waybar texts, the entire widget gets misaligned. For example, I have a screen brightness widget, configured like this:

        "backlight": {
                "format": "🖵 {percent}%",
//              "format": "{percent}%",
                "on-click": "next_brightness"
        },

which results in this:

image

If I instead have the commented-out line, it looks like this:

image

Notice that the text is now on the same baseline as the texts in the widgets next to it, whereas with the fancy unicode character present, the line is moved up.

JoJoDeveloping avatar Feb 08 '24 22:02 JoJoDeveloping