friedow / centerpiece

Your trusty omnibox search.
MIT License
174 stars 6 forks source link

CPU: make status show diagrams instead of raw text #104

Closed RTUnreal closed 3 months ago

RTUnreal commented 3 months ago

I have too many cpus to show all in the same centerpiece window: image KDE Plasma has a bar chart as a status view: image

friedow commented 3 months ago

Maybe there are some nice symbols in nerdfonts which we can use to display each core in one line. Any suggestions?

RTUnreal commented 3 months ago

If you want to stay with only text displays, I would recommend a Windows-style layout in text form so more cores/threads can fit in the small space.

Here are some examples: grafik grafik

VTimofeenko commented 3 months ago

Maybe there are some nice symbols in nerdfonts which we can use to display each core in one line. Any suggestions?

I think I have seen glyph \uf4bc, , used for this purpose

friedow commented 3 months ago

I've just created a PR which should fix both #104 and #114. I've used ascii block elements to visualize per-core usage :). I've left a screenshot of this in the PR.