summaryrefslogtreecommitdiff
path: root/battery_wgt.lua
Commit message (Collapse)AuthorAge
* battery_wgt: handle capacity being unknownAnton Khirnov2023-02-01
| | | | Use a special color for the arc to indicate this state.
* rc: add a battery level monitor to statusbarAnton Khirnov2023-01-05
Consisting of: - battery object, which is a wrapper around a sysfs dir describing a battery - battery manager, which adds and removes individual batteries as they (dis)appear - e.g. wireless input devices, and maps them to widgets displayed side by side - battery widget, which shows the status of one of the batteries; the widget used is derived from batteryarc [1], but heavily modified [1] https://github.com/streetturtle/awesome-wm-widgets/