Make the hands in the font zero-width; now the clock *without* filled
face is independent of font size.
The clock *with* filled face is not. Its elements (face, hands) have to
be in a specific order (hands must come after face), the face would
obscure the hands if it's the other way around. But since the font has
zero-width for the hands, not the face (and this makes the most sense),
the filled-face clock still relies on a hardcoded offset (as before, 27
units are subtracted to move the hands, but now that the hands are
zero-width, we add them back after emitting the hands, to have the rest
of the bar in the correct position). So I think that the hands will be
off-center if you change font size (haven't tested that), but even in
that case it will be less messy now.
Likewise for the battery icon.
In truth, I made the font adjustments a few months ago, and had better
done it in a different way: make the clock faces zero-width, make the
minute hand non-zero-width, and make everything about the battery icon
zero-width and add a separate, transparant "battery width" glyph. I
might fix that later.
st is waaaaay to laggy in its rendering to my taste. cmatrix doesn't even
run on it well.
It was a great learning experience however. For instance I learned how
the terminal title is determined and could improve it to make my
terminal.sh work more reliably.
MPD is sending network requests all the time
Use workspace names because I have bound a workspace to each key, and
use that key as the name (will commit that soon)
Hide the SSID because in the end that's just clutter
Like the wlan strength icons, the clocks and battery ramps draw multiple
glyphs at the same location to create multi-coloured icons. For them to
show up, you need my Bar Material Supplement font, which isn't published
yet because I haven't decided on a license nor on a way to host it.
Polybar doesn't support time zones yet, so I wrote my own date
displaying script. I think I'll keep it, it is more accurate: 0.02s
instead of up to 5s (configurable but higher frequency means more
CPU power used) latency.