Change Workspace Icons
Adding icons to workspaces can give your desktop a nice and functional look.
Icons are actually characters from fonts installed by Regolith looks. Each look comes with a specific icon font. The icon font is defined in the
typeface_bar variable in the
typeface config file. The default look Cahuella uses the Material Design Icons font (see file
You can browse the icon font using the Gnome Character Map application (
- Open Gnome Character Map.
- Select your icon font in the top left combo.
- In the script pane select Common.
- Scroll down the characters pane until you find the icons.
- Double click on the icon you are looking to use and press the Copy button (bottom right).
Tip: the icons are ordered alphabetically.
Staging files and changing icons
Follow these steps to edit the Xresource definitions of the workspace icons used by i3:
Stage your Regolith Styles Xresources files, as described here.
/etc/regolith/styles/i3-wmXresource file in your user directory, and ensure that your user copy of the Xresource file
#includes this copy.
Edit your copy of the
i3-wmstyles file. Find the workspace name definition starting with
i3-wm.workspace.01.name:and change the last argument of the
WORKSPACE_NAMEfunction from the default
glyphto your icon by simply copying and pasting the icon character. The icon character might not be displayed properly if your editor does not support the icon font, but it will work fine in the bar.
Repeat for all required workspaces.
After saving this file log out and back in to see the change.
Adding support for icon fonts in text editors
- Append the name of the icon font to
Settings > Editor > Font Familly.
Menlo, Consolas, DejaVu Sans Mono, monospace, Material Design Icons
See the reference page for configrations for more details about config files in Regolith.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.