feat: add icons

This commit is contained in:
tux
2025-06-09 20:20:32 +05:30
parent 41b9b18436
commit f15a6a483d
15 changed files with 34 additions and 21 deletions

View File

@@ -4,8 +4,9 @@ export const GPU = () => {
const gpu = Variable("").poll(5000, ["bash", "-c", "supergfxctl -g"]);
return (
<box cssClasses={["pill"]}>
<label label={bind(gpu).as((val) => `GPU: ${val}`)} />
<box cssClasses={["pill"]} spacing={5}>
<image iconName="fa-video-card-symbolic" />
<label label={bind(gpu).as((val) => val)} />
</box>
);
};