Add config option to select UPower device based on device model.

This commit is contained in:
Lasse Luttermann
2024-05-14 10:13:22 +02:00
parent 912d0e83f3
commit 6413f25b8d
3 changed files with 28 additions and 2 deletions

View File

@ -17,6 +17,12 @@ compatible devices in the tooltip.
The battery to monitor. Refer to the https://upower.freedesktop.org/docs/UpDevice.html#UpDevice--native-path ++
Can be obtained using `upower --dump`
*model*: ++
typeof: string ++
default: ++
The battery to monitor, based on the model. (this option is ignored if *native-path* is given). ++
Can be obtained using `upower --dump`
*icon-size*: ++
typeof: integer ++
default: 20 ++