You are not logged in.
Hi,
I'm 90% done with my initial i3wm setup and it just crossed my mind if there was a way of using images as workspace indocators instead of just numbers/names? Does anyone know if such a patch exists? I'm pretty happy with the current look of my (xbm patched) i3bar so I really don't feel the need to replace it.
edit: or if the xbm patch already supports such an action, how do I configure it?
Last edited by sm4tik (2014-11-24 23:41:16)
Offline
When you say images, do you mean icon-like fonts or actual png/svg icons?
Offline
Actual images. Xbm's would make the most sense as there's a patch for the status bar already, svg's would be a bit of an overkill.
Offline
There's a patch to use xbm icons here.
EDIT: Seems you may have already found it. I'm not aware of any other attempt to add images to i3bar; you can use a glyph font like Font Awesome or Entypo. That's what I did.
Last edited by ANOKNUSA (2014-11-24 15:14:58)
Offline
There's a patch to use xbm icons here.
EDIT: Seems you may have already found it. I'm not aware of any other attempt to add images to i3bar; you can use a glyph font like Font Awesome or Entypo. That's what I did.
That seems to be the only solution for now, but it would make me font-dependent and that's not what I'm after. If I can't find a better solution, I think I might just edit the font currently in use and replace some of the unused characters with some pixels. It's not at the top of my list anyhow, so we'll see how things turn out.
Offline
No need to edit an existing font. You can declare multiple fonts in your config file. If all declared fonts are present, i3 should render characters from any of them.
Offline
Heck, you learn something new every day. I only now discovered xfd, which makes glyph hunting a tad easier.. and using the right encoding with the font helps a bit also
I'll settle for some glyphs from the font I'm using for now. If I can't find what I'm looking for (..like I knew?), I'll look more into configuring multiple fonts for i3. I thought configuring multiple fonts would just be to fallback for a working font as a whole, not to use a glyph from another if it couldn't find it from the main font. Thanks for the tip!
Offline