[AGS] Fix crashing
This commit is contained in:
@@ -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( ' ' );
|
||||
|
Reference in New Issue
Block a user