Installing Polybar on opensuse 15 leap
Mar. 1st, 2019 11:26 pm
Downloading and installing polybar
wget http://download.opensuse.org/repositories/home:/sysek/openSUSE_Leap_15.0/x86_64/polybar-3.3.0-lp150.7.1.x86_64.rpm
use zypper to install package and dependenciessudo zypper in polybar-3.3.0-lp150.7.1.x86_64.rpm Polybar Configuration
make a polybar directory in
~/.config copy the example polybar config into that directory
cp /usr/share/doc/polybar/config ~/.config/polybar/config
run the following command to see it loadpolybar example
*note the font glyphs dont work so you will need to install the siji fonts
Installing glyph font
git clone https://github.com/stark/siji.gitcd siji; chmod +x install.sh; ./install.sh
get xfd and make sure its installed
software.opensuse.org/ymp/home:pontostroy:X11/openSUSE_Leap_42.2/xfd.ymp
See where exactly the font is on your system because this will most likely be different that whats in your configuration file. fc-list | grep siji
Mine returned the following Wuncon Siji:style=Regular
You will then need to edit the config file that you copied over here ~/.config/polybar/config.
change the font type directive fromfont-2 = siji:pixelsize=10;1 to font-2 = Wuncon Siji:style=Regular:pixelsize=10;1
FIN.
run polybar example again and now you will see the glyphs displayed.