feat: implement upower module

This commit is contained in:
Chinmay Dalal
2023-03-19 02:16:49 +05:30
committed by Jake Stanger
parent 1e1d65ae49
commit ad3c171eca
9 changed files with 1130 additions and 450 deletions

View File

@@ -14,10 +14,11 @@ default = [
"music+all",
"sys_info",
"tray",
"upower",
"workspaces+all"
]
http = ["dep:reqwest"]
upower = ["upower_dbus", "zbus", "futures-lite"]
"config+all" = ["config+json", "config+yaml", "config+toml", "config+corn"]
"config+json" = ["universal-config/json"]
@@ -88,6 +89,11 @@ sysinfo = { version = "0.28.4", optional = true }
# tray
stray = { version = "0.1.3", optional = true }
# upower
upower_dbus = { version = "0.3.2", optional = true }
futures-lite = { version = "1.12.0", optional = true }
zbus = { version = "3.11.0", optional = true }
# workspaces
swayipc-async = { version = "2.0.1", optional = true }
hyprland = { version = "0.3.1", optional = true }