jpnix: (Default)
[personal profile] jpnix
Polybar

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 dependencies

sudo 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 load

polybar 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.git

cd 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 from
font-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.

 

Profile

jpnix: (Default)
JPNIX

January 2023

S M T W T F S
1234567
8910111213 14
15161718 192021
222324252627 28
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 6th, 2026 01:57 pm
Powered by Dreamwidth Studios