From ecd148201f05f165b579326204c71dc1073dbca6 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 21 Sep 2025 12:11:47 -0400 Subject: astal: refactor launcher --- pkgs/astal/src/launcher.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pkgs/astal/src/launcher.lua') diff --git a/pkgs/astal/src/launcher.lua b/pkgs/astal/src/launcher.lua index cc16bb9..88b88cb 100644 --- a/pkgs/astal/src/launcher.lua +++ b/pkgs/astal/src/launcher.lua @@ -1,10 +1,13 @@ local App = require("astal.gtk3.app") +local lib = require("lib") + +local Launcher = require("widget.launcher") App:start({ + instance_name = "launcher", + css = lib.src("main.css"), main = function() - error("must start astal-shell first") - end, - client = function(req) - req("launcher") + local mon = App.monitors[1] + Launcher(mon) end, }) -- cgit v1.2.3-freya