dotfiles/modules/hyprland/ags/config/app.ts
2025-06-26 17:03:29 +02:00

15 lines
424 B
TypeScript

import { App } from "astal/gtk3"
import style from "./style.scss"
import LeftBar from "./widget/LeftBar"
import RightBar from "./widget/RightBar"
const LEFT_DISPLAY = "HF237"
const RIGHT_DISPLAY = "LCDTV16"
App.start({
css: style,
main() {
LeftBar(App.get_monitors().find(it => it.get_model() == LEFT_DISPLAY)!);
RightBar(App.get_monitors().find(it => it.get_model() == RIGHT_DISPLAY)!);
},
})