mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
feat: add icons
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user