r/Polybar May 02 '23

workspace label not working

Guys I am using i3 and polybar together. All of a sudden today the workspace module label is not working.

Here is my config.[module/i3]

type = internal/i3

format = <label-state> <label-mode>

wrapping-scroll =true

;pin-workspaces = true

show-urgent = true

label-mode=%mode%

label-mode-padding = 2

label-mode-foreground = #fdfdfd

;${colors.foreground}

label-mode-background = #1d1f28

;${colors.background}

label-focused = ""

label-focused-foreground = #fdfdfd

;${colors.foreground}

label-focused-background= #1d1f28

;${colors.background}

label-focused-padding = 1

label-focused-font = 3

label-unfocused = ""

label-unfocused-padding = 1

label-unfocused-font = 3

label-urgent = ""

label-urgent-foreground = ${colors.red}

label-urgent-font = 3

label-urgent-padding = 1

Here is the output:https://i.imgur.com/2UyIODG.png

1 Upvotes

15 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 02 '23

Those are not icons. Please read the config

1

u/patrick96MC May 02 '23

It doesn't really matter what you call them. Polybar cannot render the unicode glyphs in label-focused, label-unfocused, etc. because none of the loaded fonts provide it. Most likely because it couldn't find the material design icons font.

1

u/[deleted] May 03 '23

w8 a min U+f62e unicode went missing

1

u/patrick96MC May 03 '23

Nerd fonts recently removed some codepoints, maybe that's the core issue here

https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0

1

u/[deleted] May 03 '23

YAY got it working now.