style: shorten the name

This commit is contained in:
tux
2025-06-09 06:33:29 +05:30
parent 4747505ecc
commit 3e18ba6f82
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export const Battery = () => {
<box cssClasses={["pill"]} visible={bind(battery, "isPresent")}> <box cssClasses={["pill"]} visible={bind(battery, "isPresent")}>
<label <label
label={bind(battery, "percentage").as( label={bind(battery, "percentage").as(
(p) => `Bat: ${Math.floor(p * 100)}%`, (p) => `B: ${Math.floor(p * 100)}%`,
)} )}
/> />
</box> </box>

View File

@@ -12,7 +12,7 @@ export const Tailscale = () => {
<label <label
label={bind(tailscale).as((val) => { label={bind(tailscale).as((val) => {
const data = val.split(" "); const data = val.split(" ");
return "Home: " + data[data.length - 1]; return "H: " + data[data.length - 1];
})} })}
/> />
</box> </box>