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,44 @@
|
||||
id = "frai3mega/battery-graph"
|
||||
name = "Battery graph"
|
||||
version = "1.0.0"
|
||||
author = "frai3mega"
|
||||
license = "MIT"
|
||||
icon = "battery"
|
||||
description = "Plots battery level on a graph"
|
||||
plugin_api = 3
|
||||
tags = ["hardware", "utility", "desktop", "panel"]
|
||||
dependencies = ["upowerd", "gdbus"]
|
||||
|
||||
[[setting]]
|
||||
key = "graph_time"
|
||||
type = "int"
|
||||
label_key = "settings.graph_time.label"
|
||||
description_key = "settings.graph_time.description"
|
||||
default = 6
|
||||
|
||||
[[setting]]
|
||||
key = "battery_path"
|
||||
type = "string"
|
||||
label_key = "settings.battery_path.label"
|
||||
description_key = "settings.battery_path.description"
|
||||
default = "/org/freedesktop/UPower/devices/battery_BAT0"
|
||||
|
||||
[[setting]]
|
||||
key = "interpol_time"
|
||||
type = "int"
|
||||
label_key = "settings.interpol_time.label"
|
||||
description_key = "settings.interpol_time.description"
|
||||
default = 5
|
||||
|
||||
|
||||
[[widget]]
|
||||
id = "battery-graph-widget"
|
||||
entry = "battery-graph.luau"
|
||||
|
||||
[[panel]]
|
||||
id = "battery-panel"
|
||||
entry = "battery-panel.luau"
|
||||
|
||||
[[desktop_widget]]
|
||||
id = "battery-graph-desktop"
|
||||
entry = "battery-desktop.luau"
|
||||
Reference in New Issue
Block a user