Add FraI3mega/battery-graph (#115)
* feat(battery-graph): Initialize plugin files * feat(battery-graph): Add bar widget * feat(battery-graph): Implement logic * docs(battery-graph): Fill out the template README * feat(battery-graph): Improve panel * feat(battery-graph): Implement settings * feat(battery-graph): Improve panel styling * feat(battery-graph): Add desktop widget * docs(battery-graph): Improve wording * docs(battery-graph): Add image * docs(battery-graph): Add tags * docs(battery-graph): Improve README * fix(battery-graph): Fix translations * docs(battery-graph): Fix tags * fix(battery-graph): Fix author name * docs(battery-graph): Rename thumbnail * docs(battery-graph): Add dependencies * docs(battery-graph): Improve README * docs(battery-graph): Bump version to 1.0.0 * fix(battery-graph): Remove leftover log * fix(battery-graph): Wrap battery path in quotes * fix(battery-graph): Implement path validation * docs(battery-graph): Clarify setting * fix(battery-graph): Wrap grapth_time in quoutes * docs(battery-graph): Fix setting description
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Battery graph
|
||||
|
||||
Uses the Upowerd to display the historical charge of the battery on a graph.
|
||||
|
||||
## Plugin
|
||||
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| ID | `frai3mega/battery-graph` |
|
||||
| Entries | Bar widget: `battery-graph-widget`; panel: `battery-panel`; Desktop widget: `battery-graph-desktop` |
|
||||
|
||||
## Requirements
|
||||
|
||||
Requires a running `upowerd` deamon.
|
||||
Install `gdbus` on `PATH`.
|
||||
|
||||
## Usage
|
||||
|
||||
You can use it as a desktop/locksreen widget or on the bar.
|
||||
|
||||
Show the panel using
|
||||
|
||||
```sh
|
||||
noctalia msg panel-toggle frai3mega/battery-graph:battery-panel
|
||||
```
|
||||
|
||||
|
||||
## Settings
|
||||
|
||||
|
||||
| Setting | Type | Default | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| `graph_time` | `int` | `6` | Changes the timeframe of the graph |
|
||||
| `battery_path` | `string` | `/org/freedesktop/UPower/devices/battery_BAT0` | The path to the battery to be graphed |
|
||||
| `interpol_time` | `int` | `5` | The time beetween points on the graph. |
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user