Feature request: custom status bar graph component
Feature Request
Summary
The graphs that come with some of the components are my absolute favorite part of the status bar. I also love that we're able to add our own basic components with Python.
I'd like to request the ability to create custom graph-based components.
For example, I have a Python script that runs pmset -g therm
and awk
s the CPU speed limit (i.e. throttle) to display it in a custom component. If I see 100, I know my CPU is not throttled; if I see 60, I know I'm experiencing throttle.
I'd love to be able to turn this into a graph component. I'm thinking iTerm could offer an alternate constructor for iterm2.StatusBarComponent
that accepts a range (e.g. 0 - 100 for my CPU throttle example) for the data. The RPC method could then feed the component with data at a set interval, which is then graphed.