The Barista Logo

barista

An i3status alternative in golang

Download sample-bar Download i3status example View on GitHub

Icon Fonts

Although i3bar can only display text, it supports Pango Markup, which means that any icon font installed on the system can be used to add pictograms to the bar.

There are a few simple steps to using an icon font in your bar:

Supported Fonts

Default Installation

The default sample bar assumes that icon fonts have been cloned to ~/Github/, and are installed via symlink (or directly) in a font folder (usually ~/.fonts/). To install all supported icon fonts, simply run the commands below from your home directory.

mkdir Github
cd Github

# Material Design Icons
git clone --depth 1 https://github.com/google/material-design-icons
ln -s $PWD/material-design-icons/font/MaterialIcons-Regular.ttf ~/.fonts/

# Community Fork
git clone --depth 1 https://github.com/Templarian/MaterialDesign-Webfont
ln -s $PWD/MaterialDesign-Webfont/fonts/materialdesignicons-webfont.ttf ~/.fonts/

# FontAwesome
git clone --depth 1 https://github.com/FortAwesome/Font-Awesome
ln -s "$PWD/Font-Awesome/otfs/Font Awesome 5 Free-Solid-900.otf" ~/.fonts/
ln -s "$PWD/Font-Awesome/otfs/Font Awesome 5 Free-Regular-400.otf" ~/.fonts/
ln -s "$PWD/Font-Awesome/otfs/Font Awesome 5 Brands-Regular-400.otf" ~/.fonts/

# Typicons
git clone --depth 1 https://github.com/stephenhutchings/typicons.font
ln -s $PWD/typicons.font/src/font/typicons.ttf ~/.fonts/

You may need to rebuild the font cache using fc-cache -fv, and restart i3 to pick up the new fonts.