summaryrefslogtreecommitdiff
path: root/widget/Battery.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'widget/Battery.tsx')
-rw-r--r--widget/Battery.tsx12
1 files changed, 0 insertions, 12 deletions
diff --git a/widget/Battery.tsx b/widget/Battery.tsx
deleted file mode 100644
index d1b70d6..0000000
--- a/widget/Battery.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import Battery from "gi://AstalBattery"
-import { bind } from "astal"
-
-export default function BatteryPercentage() {
- const bat = Battery.get_default()
-
- return <box>
- <button onClick="echo hello" />
- <label label="hi" />
- <label label={bind(bat, "percentage").as((p) => p * 100 + "%")} />
- </box>
-}