[Build] Run build

This commit is contained in:
2025-04-26 12:10:09 +02:00
parent 609f662eb5
commit 519eea601c
8 changed files with 48 additions and 30 deletions

View File

@@ -4,6 +4,7 @@ import Bar from "./components/bar/Bar";
import AstalHyprland from "gi://AstalHyprland?version=0.1";
import { hyprToGdk } from "./util/hyprland";
import { writeFile } from "astal";
import Launcher from "./components/launcher/Launcher";
App.start({
instanceName: "runner",
@@ -47,6 +48,7 @@ App.start({
// for (let index = 0; index < monitors.length; index++) {
// Bar.BarLauncher( monitors[ index ] );
// }
// Launcher();
},
requestHandler(request, res) {
const args = request.trimStart().split( ' ' );
@@ -57,6 +59,20 @@ App.start({
} else if ( args[ 0 ] === 'bar' ) {
res( Bar.cliHandler( args ) );
}
// } else if ( args[ 0 ] === 'launcher' ) {
// if ( args[ 1 ] === 'show' ) {
// App.get_window( 'launcher' )?.show();
// res( '[Launcher] Shown' );
// } else if ( args[ 1 ] === 'hide' ) {
// App.get_window( 'launcher' )?.hide();
// res( '[Launcher] Hidden' );
// } else if ( args[ 1 ] === 'toggle' ) {
// App.toggle_window( 'launcher' );
// res( '[Launcher] Toggled' );
// } else {
// res( '[Launcher] unknown command' );
// }
// }
},
})