[AGS] GTK 4 Migration: Done, Start adding QuickActions

Probably gonna abandon the QuickActions, as that is just way too much
effort for what it does. Will be providing keybinds for doing what I
wanted to do there in Hyprland
This commit is contained in:
2025-04-22 15:30:41 +02:00
parent 8b70f80e60
commit 8a2180e120
19 changed files with 678 additions and 200 deletions

View File

@@ -2,7 +2,7 @@ import { App } from "astal/gtk4"
import style from "./style.scss"
import notifications from "./components/notifications/handler";
// import Bar from "./components/bar/ui/Bar";
import Bar from "./components/bar/ui/Bar";
App.start({
instanceName: "runner",
@@ -10,7 +10,7 @@ App.start({
main() {
notifications.startNotificationHandler( App.get_monitors()[0] );
// TODO: Monitor handling
// Bar.Bar( App.get_monitors()[0] );
Bar.Bar( App.get_monitors()[0] );
},
requestHandler(request, res) {
const args = request.trimStart().split( ' ' );
@@ -19,7 +19,7 @@ App.start({
if ( args[ 0 ] === 'notifier' ) {
res( notifications.cliHandler( args ) );
} else if ( args[ 0 ] === 'bar' ) {
// res( Bar.cliHandler( args ) );
res( Bar.cliHandler( args ) );
}
},
})