mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
feat: migrate to ags v3
This commit is contained in:
10
app.ts
10
app.ts
@@ -1,16 +1,14 @@
|
||||
import { App } from "astal/gtk4";
|
||||
import app from "ags/gtk4/app";
|
||||
import GLib from "gi://GLib";
|
||||
import style from "./style.scss";
|
||||
import windows from "./windows";
|
||||
import GLib from "gi://GLib";
|
||||
import { reqHandler } from "./handler";
|
||||
|
||||
const icons = `${GLib.get_user_config_dir()}/tpanel/assets/icons`;
|
||||
|
||||
App.start({
|
||||
app.start({
|
||||
css: style,
|
||||
icons: icons,
|
||||
requestHandler: reqHandler,
|
||||
main() {
|
||||
windows.map((win) => App.get_monitors().map(win));
|
||||
windows.map((win) => app.get_monitors().map(win));
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user