-
-
Notifications
You must be signed in to change notification settings - Fork 31
HowTo: Switch bar to use Material Design icons
Ken Gilmer edited this page Oct 30, 2019
·
5 revisions
The default Regolith i3bar configuration uses fontawesome icons to display icons. It's possible to change them to whatever you like. Here we'll be updating using an optional package provided by the Regolith repositories that provide style definitions to swap fontawesome for material design icons.
- Install the style package, which also installs the required font files:
$ sudo apt install regolith-styles-typeface-materialdesign
- Create a copy of the Regolith Xresource file (If you've already done this before, skip ahead):
$ cp /etc/regolith/styles/root ~/.Xresources-regolith
- Edit
~/.Xresources-regolith
to reference the new typeface file. Comment out this line, by prepending a!
character:!#include "/etc/regolith/styles/typeface-sourcecodepro"
- Add a line to reference the Material Design resource file:
#include "/etc/regolith/styles/typeface-sourcecodepro-materialdesign"
- Log back into the session for Regolith to pick up the changes.
Default i3bar in Regolith R1.2:
Material Design i3bar in Regolith R1.2:
Since most of this wiki content was created, a new site for Regolith was created. This wiki content was written for Regolith 1.2 but most of it still applies to 1.3. However, it is suggested to first check if the information you are looking for is here.