domsson / succade

Run, feed and style your Lemonbar with ease
Creative Commons Zero v1.0 Universal
55 stars 3 forks source link

Double percentage #53

Closed BeyondMagic closed 3 years ago

BeyondMagic commented 3 years ago

The following config outputs two percentage characters (%%). How can I avoid that?

[bar]
name = "testbar"
blocks = "desktop"
width = 1440
height = 19
font = 'Noto Sans CJK JP:size=11:antialias=true'
affix-font = "Powerline Extra Symbols:antialias=true:size=10"

[desktop]
command = "echo %"
domsson commented 3 years ago

Hm, it outputs only one for me (succade 2.1.3). Could you run succade -V and let me know what version you are on?

BeyondMagic commented 3 years ago

2.1.3 as well, then... it's a problem with my lemonbar? I'm using lemonbar-xft to load fontconfig.

image

domsson commented 3 years ago

Hm, not quite sure. Interested to figure it out, though! Could you try the following and see if it changes anything?

BeyondMagic commented 3 years ago

Thanks for responding! the problem remains. I named the script to bar and did chmod +x on it to be sure that it loads. I did change the succaderc to command = bar and it stills loading two bars. image

BeyondMagic commented 3 years ago

Yep, so tried with a few things, it looks like lemonbar-xft (AUR latest version) with support for fontconfig prints out two percentage, while the normal lemonbar prints out only one with succade.

However, using lemonbar-xft and a normal script, it prints out normally. It seems that succade hasn't full compatibility with lemonbar-xft.

BeyondMagic commented 3 years ago

Fixed with the following fork with support of fontconfig, although lemonbar-xft indeeed hasn't full support of succade.

Thank for the amazing program, @domsson.