Implemented battery, power profile and brightness all in one menu

This commit is contained in:
Jas-SinghFSU
2024-07-01 23:26:45 -07:00
parent d1facf15aa
commit 63b5302fe0
13 changed files with 301 additions and 21 deletions

View File

@@ -41,7 +41,7 @@ const Ethernet = () => {
hpack: "start",
truncate: "end",
wrap: true,
label: `Ethernet Connection ${typeof wired.speed === "number" ? `(${wired.speed / 1000} Gbps)` : ""}`,
label: `Ethernet Connection ${wired.state !== "unknown" && typeof wired?.speed === "number" ? `(${wired?.speed / 1000} Gbps)` : ""}`,
}),
Widget.Label({
hpack: "start",