Replace waybar with ags.
This commit is contained in:
parent
989a814ff5
commit
5a9cb2d981
10 changed files with 373 additions and 60 deletions
13
modules/home-manager/ags/app.ts
Normal file
13
modules/home-manager/ags/app.ts
Normal 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),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue