Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Formatting does not seem to work #31

Closed
MadsRC opened this issue Nov 18, 2016 · 1 comment
Closed

Formatting does not seem to work #31

MadsRC opened this issue Nov 18, 2016 · 1 comment

Comments

@MadsRC
Copy link

MadsRC commented Nov 18, 2016

The latest version (pulled yesterday) does not seem to support formatting. The problem seems to be that % isn't caught (As I don't have to use %% to get a literal percent sign as the man page states you should).

It should be reproduce-able with this command:
echo "test" | lemonbar %{c} -g 2550x14 -B #ff00ff -F #FFFFFF -p

The %{c} should center the text, however it does not seem to do that.

@krypt-n
Copy link
Owner

krypt-n commented Nov 18, 2016

The formatting options are not passed to lemonbar as arguments, they are included in the input. Try

echo "%{c}test" | lemonbar -g 2550x14 -B #ff00ff -F #FFFFFF -p

@krypt-n krypt-n closed this as completed Nov 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants