[AGS] Fix crashing

This commit is contained in:
2025-04-25 20:56:59 +02:00
parent 3e5136fdbb
commit 03d9d89102
6 changed files with 35 additions and 2796 deletions

View File

@@ -3,6 +3,7 @@ import style from "./style.scss"
import Bar from "./components/bar/Bar";
import AstalHyprland from "gi://AstalHyprland?version=0.1";
import { hyprToGdk } from "./util/hyprland";
import { writeFile } from "astal";
App.start({
instanceName: "runner",
@@ -40,6 +41,12 @@ App.start({
bars.delete( monitor );
}
} );
// const monitors = App.get_monitors();
// print( "adding bar to monitors" );
// for (let index = 0; index < monitors.length; index++) {
// Bar.BarLauncher( monitors[ index ] );
// }
},
requestHandler(request, res) {
const args = request.trimStart().split( ' ' );