added some bar utilities and powermenu
This commit is contained in:
1 parent
55004d917e
commit
b272840eae
7 files changed
+282
-32
No files matched your search
@@ -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>
|
||||
}
|
||||
Reference in new issue
Block a user