feat: move status-bar to seperate repository, initial commit

This commit is contained in:
2025-09-24 21:11:28 -07:00
commit 68142eac7c
24 changed files with 664 additions and 0 deletions

10
widget/disk.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { bind, Variable } from "astal"
import { get_disk_space } from "./cpu"
let disk_space = Variable(get_disk_space()).poll(5000, () => get_disk_space())
export default function Disk() {
return <box className="status-box">
<label label={bind(disk_space).as((s) => `${s}`)} />
</box>
}