Replace waybar with ags.

This commit is contained in:
CronyAkatsuki 2025-02-04 20:34:48 +01:00
parent 989a814ff5
commit 5a9cb2d981
10 changed files with 373 additions and 60 deletions

View file

@ -0,0 +1,13 @@
import { App } from "astal/gtk3"
import style from "./style.scss"
import Bar from "./widget/Bar"
App.start({
css: style,
instanceName: "js",
requestHandler(request, res) {
print(request)
res("ok")
},
main: () => App.get_monitors().map(Bar),
})