summaryrefslogtreecommitdiff
path: root/pkgs/astal/src/shell.lua
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-09-21 12:11:47 -0400
committerFreya Murphy <freya@freyacat.org>2025-09-22 21:47:46 -0400
commitecd148201f05f165b579326204c71dc1073dbca6 (patch)
treedd87b81074e97a67e26bd9ed798793911e2ff5da /pkgs/astal/src/shell.lua
parentupdate commits (diff)
downloaddotfiles-nix-ecd148201f05f165b579326204c71dc1073dbca6.tar.gz
dotfiles-nix-ecd148201f05f165b579326204c71dc1073dbca6.tar.bz2
dotfiles-nix-ecd148201f05f165b579326204c71dc1073dbca6.zip
astal: refactor launcher
Diffstat (limited to '')
-rw-r--r--pkgs/astal/src/shell.lua12
1 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/astal/src/shell.lua b/pkgs/astal/src/shell.lua
index 417f754..c370349 100644
--- a/pkgs/astal/src/shell.lua
+++ b/pkgs/astal/src/shell.lua
@@ -4,11 +4,9 @@ local lib = require("lib")
local Bar = require("widget.bar")
local Corners = require("widget.corners")
local Deck = require("widget.deck")
-local Launcher = require("widget.launcher")
-
-local launcher_visible
App:start({
+ instance_name = "shell",
css = lib.src("main.css"),
main = function()
for _, mon in pairs(App.monitors) do
@@ -16,13 +14,5 @@ App:start({
Corners(mon)
Deck(mon)
end
- launcher_visible = Launcher()
- end,
- request_handler = function(req, res)
- if req == "launcher" then
- launcher_visible:set(true)
- return res("opening launcher")
- end
- res("unknown command")
end,
})