added some bar utilities and powermenu

This commit is contained in:
wt committed 2025-03-10 23:22:47 +07:00
1 parent 55004d917e
commit b272840eae
7 files changed
+282 -32

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { Variable } from "astal";
export default function Ram() {
const cpu_usage = Variable<string>("").poll(1000, () =>
computeCPU())
return <box className="cpu">
<label
className="Time"
onDestroy={() => cpu_usage.drop()}
label={cpu_usage()} />
</box>
}