Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3bar: support pango markup #1468

Closed
acrisci opened this issue Feb 11, 2015 · 5 comments
Closed

i3bar: support pango markup #1468

acrisci opened this issue Feb 11, 2015 · 5 comments

Comments

@acrisci
Copy link
Member

@acrisci acrisci commented Feb 11, 2015

Pango has a markup format that can be used to adjust things like font weight, colors, underlining, etc.

i3bar should parse status full_text property and workspace names as pango markup. This would allow more customization of the bar and take some pressure off the i3bar format to support these features.

@i3bot
Copy link

@i3bot i3bot commented Feb 11, 2015

I don’t see a link to logs.i3wm.org. Did you follow http://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot
Copy link

@i3bot i3bot commented Feb 11, 2015

I don’t see a version number. Could you please copy & paste the output of i3 --version into this issue?

@stapelberg
Copy link
Member

@stapelberg stapelberg commented Feb 11, 2015

Sounds good. As an aside: if you add “feature request” or “enhancement” to the title of your issue, the bot will shut up ;).

acrisci added a commit to acrisci/i3 that referenced this issue Feb 12, 2015
Parse text within workspace buttons and the i3bar statusline as Pango
markup. This lets people specify things like font weight, text color,
background color, font size, and font family in the text of i3bar.

fixes i3#1468
acrisci added a commit to acrisci/i3 that referenced this issue Feb 12, 2015
Parse text within workspace buttons and the i3bar statusline as Pango
markup. This lets people specify things like font weight, text color,
background color, font size, and font family in the text of i3bar.

fixes i3#1468
@Airblader
Copy link
Member

@Airblader Airblader commented Feb 12, 2015

What happens with this patch if I'm using markup with a non-pango font?

@acrisci
Copy link
Member Author

@acrisci acrisci commented Feb 21, 2015

@Airblader it won't work. However, every font can be rendered with pango just by putting pango: before the font string. I think it would be a good idea to always render with pango.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.