mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
feat: remove icon
This commit is contained in:
@@ -5,8 +5,7 @@ export const Battery = () => {
|
||||
const battery = AstalBattery.get_default();
|
||||
|
||||
return (
|
||||
<box visible={bind(battery, "isPresent")}>
|
||||
<image iconName={bind(battery, "batteryIconName")} />
|
||||
<box cssClasses={["battery"]} visible={bind(battery, "isPresent")}>
|
||||
<label
|
||||
label={bind(battery, "percentage").as((p) => `${Math.floor(p * 100)}%`)}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user