Polybar settings

hi evreyone, i add temperarture module to my polybar config but, the it is different font, and size. how can i change it?

I would set the same font with different sizes:

font-0 = "Roboto:size=15;2"
font-1 = "Roboto:size=11;2"

And then use a specific font on the format tag for that module (all info here: https://github.com/polybar/polybar/wiki/Formatting#font-t)

Let me know how it goes.

To have the font match up with rest of the bar, use T1 for the icon and T2 for the text.

Eg (without icons) :

label = %{T2}TEMP %temperature-c%%{T-}
label-warn = %{T2}TEMP %temperature-c%%{T-}
1 Like