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

Ability to specify -o for each font separately #8

Closed
rr- opened this issue Jun 1, 2015 · 3 comments
Closed

Ability to specify -o for each font separately #8

rr- opened this issue Jun 1, 2015 · 3 comments

Comments

@rr-
Copy link

rr- commented Jun 1, 2015

While I'd like to use a Powerline font for the cool triangles, I'd like to be able to use regular (unpatched) font for the text. Since these fonts have very different baselines, it would make sense to make -o able to handle them separately.

@krypt-n
Copy link
Owner

krypt-n commented Jun 1, 2015

My idea for this would be that -o with one value applies to all fonts and -o with a comma seperated list of values applies the nth value of the list to the nth font.

I will probably look into implementing that tomorrow

@rr-
Copy link
Author

rr- commented Jun 1, 2015

Please note that in recent version of lemonbar fonts are specified in separate parameters like this:

-f FONT1 -f FONT2

rather than

-f FONT1,FONT2

but honestly, any way to achieve this would be nice. Thanks.

@krypt-n
Copy link
Owner

krypt-n commented Jun 2, 2015

Implemented in c9f1425.
I merged the upstream -f change and -o now behaves similarly, although I dont like that the order in which parameters appear matters.
The first -o sets the offset for all fonts (including the first), the second for the second font, the third for the third font and so on.

@krypt-n krypt-n closed this as completed Jun 2, 2015
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