summaryrefslogtreecommitdiff
path: root/pkgs/astal/src/launcher.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/astal/src/launcher.lua11
1 files changed, 7 insertions, 4 deletions
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,
})