Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

PangoMarkupFormat stopped working?

Open alexthebuilder opened this issue 7 years ago • 7 comments

Looks like a recent update has caused the spans I use to separate and style some inner text is now showing. Was there a change in how the output needs to be formatted or is this a defect?

Image of my current bar

alexthebuilder avatar Feb 28 '19 18:02 alexthebuilder

Reverted the change 0271e9bc1a3ed0d29b99519f3b6ae59b0bbeb677 Should work as intended now

Alexays avatar Feb 28 '19 18:02 Alexays

Looks good now Thanks!

alexthebuilder avatar Feb 28 '19 18:02 alexthebuilder

@Alexays Wouldn't it be better to introduce a toggle to disable the escaping instead of just reverting the change. I think escaping text should be default as I think that it can be quiet irritating for new users :thinking:

rbnis avatar Feb 28 '19 19:02 rbnis

If the idea is to be similar to i3blocks they addressed the issue in this - https://github.com/vivien/i3blocks/issues/226

alexthebuilder avatar Feb 28 '19 20:02 alexthebuilder

@Robinhuett for me the best default option would be to leave it like that and make an option for beginners to escape the script output

Alexays avatar Mar 01 '19 08:03 Alexays

Fair enough. Espeacially since this is the behaviour of i3blocks (and as far as I could see also polybar). If you like I can make an PR tomorrow.

rbnis avatar Mar 01 '19 10:03 rbnis

@Robinhuett No worries, done in 79b0367e6c61063d2a6107afa2c5e53f90a575fb

Alexays avatar Mar 01 '19 16:03 Alexays