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,11 +4,12 @@ export const Profile = () => {
const profile = Variable("").poll(5000, ["bash", "-c", "asusctl profile -p"]);
return (
<box cssClasses={["pill"]}>
<box cssClasses={["pill"]} spacing={5}>
<image iconName="fa-speed-symbolic" />
<label
label={bind(profile).as((val) => {
const data = val.split(" ");
return "P: " + data[data.length - 1];
return data[data.length - 1];
})}
/>
</box>