Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-01 | Fix printbar and add a lot more tests | Aaron Ball | |
Previously printbar wasn't correctly calculating data width. The fill of bars included the surrounding brackets (so a width of 10 was actually 8 + 2 brackets). This makes the fill width the defined with, +2 extra chars for the square bracket. This makes the fill calculations accurate now. | |||
2020-05-12 | Initial commit | Aaron Ball | |
This includes support for printing battery, cpu, filesystem, memory, time, and date sections. Sections with percentage values also support the `display = bar` configuration to make them display a bar rather than the actual percent. Finally, for relevant data types, colors change from green to red as percentage approaches appropriate levels (eg: when memory is high, color is red; when battery is low, color is red, otherwise green). |