Change workspace labels
Remove everything but the workspace number
Follow these steps to edit the Xresource definitions of the workspace labels used by i3:
- Stage your Regolith Styles Xresources files, as described here.
- Stage the
/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. This file uses C-style macros to generate the Pango markup for each workspace label. There are various ways of changing the macros to strip out the icons, but this may be the most concise. Replace:
#define WORKSPACE_NAME(INDEX, FONT, COLOR, GLYPH) INDEX:<span font_desc=FONT> INDEX </span><span foreground=COLOR>GLYPH</span>
#define WORKSPACE_NAME(INDEX, FONT, COLOR, GLYPH)
- After saving this file log out and back in to see the change.
Creating workspace labels
Some users prefer to title their workspaces based a theme, such as
web, etc. To do this, make modifications to your user copy of
/etc/regolith/styles/i3-wm similarly to:
i3-wm.workspace.01.name: Terminal i3-wm.workspace.02.name: Web i3-wm.workspace.03.name: Chat
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.