LemonBoy / bar

A featherweight, lemon-scented, bar based on xcb
MIT License
1.63k stars 194 forks source link

Added a feature to switch between main and alt font in syntax #51

Closed kevinvdburgt closed 10 years ago

kevinvdburgt commented 10 years ago

I needed something to switch between my fonts, in my case (example): I have a fonts that is just text and a second font for my icons.

LemonBoy commented 10 years ago

Does the second font overlap the ascii range ?

kevinvdburgt commented 10 years ago

Yes, butonly when you want to. Use %{fm} to set the 1st font as primary (default) and %{fa} to set the 2nd font an primary font.

LemonBoy commented 10 years ago

You should fix the font instead.

kevinvdburgt commented 10 years ago

Yes, but its a pain to merge fonts all the time. For me was this an easier solution.

LemonBoy commented 10 years ago

What fonts are you using?

kevinvdburgt commented 10 years ago

Im using these fonts: -lucy-tewi-medium-r-normal--11-90-75-75-p-58-iso10646-1 -benis-uushi-medium-r-normal--11-90-75-75-p-58-iso10646-1

See my dotfiles how i use them: https://github.com/kevinvdburgt/dotfiles/blob/f306e0f478fd3907984e7481951baf829e433c91/.bin/bspwm_panel_bar

kevinvdburgt commented 10 years ago

UPDATE: Its better to patch the fonts :)