VoidShell/app.ts

17 lines
368 B
TypeScript

import { App } from "astal/gtk3";
import style from "./style.css";
import Bar from "./widget/Bar";
import "@/globals";
import { Sway } from "@services/sway/ipc";
import { Tree } from "@services/sway/workspaces";
new Tree("/home/ezri/.config/sway/workspaces.json");
App.start({
css: style,
main() {
Bar(0);
// Bar(1) // initialize other monitors
},
});