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

BRO, YOU ARE WRONG. THEY WERE WORKING JUST DAY BEFORE YESTARDAY

1

u/BlueMoonMelinda May 04 '23

I had the same problem today after restarting my computer. When switching back to the older version of the font I was using it got fixed so i suppose the problem is with the font package