summaryrefslogtreecommitdiff
path: root/examples/gtk3/js/media-player/app.ts
blob: 5b7558a013ea37d851d073220d3cf663c3bd29c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { App, Widget } from "astal/gtk3"
import style from "./style.scss"
import MprisPlayers from "./widget/MediaPlayer"

App.start({
    instanceName: "players",
    css: style,
    main: () => {
        new Widget.Window({}, MprisPlayers())
    }
})