diff --git a/widgets/bar/gpu.tsx b/widgets/bar/gpu.tsx new file mode 100644 index 0000000..e49f79e --- /dev/null +++ b/widgets/bar/gpu.tsx @@ -0,0 +1,11 @@ +import { bind, Variable } from "astal"; + +export const GPU = () => { + const gpu = Variable("").poll(5000, ["bash", "-c", "supergfxctl -g"]); + + return ( + + + ); +}; diff --git a/widgets/bar/index.tsx b/widgets/bar/index.tsx index ec53c64..88511a3 100644 --- a/widgets/bar/index.tsx +++ b/widgets/bar/index.tsx @@ -4,6 +4,8 @@ import { Battery } from "./battery"; import { Tailscale } from "./tailscale"; import { Time } from "./time"; import { Network } from "./network"; +import { Profile } from "./profile"; +import { GPU } from "./gpu"; export const WINDOW_NAME = "bar"; @@ -45,6 +47,8 @@ const End = () => { return ( + +