summaryrefslogtreecommitdiff
path: root/pkgs/astal/src/shell.lua
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-19 22:53:20 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-19 22:53:34 -0400
commit424e62dc79793187c46a222acf2a3fd88b9a7bd4 (patch)
tree092209fe447ce9a53107811828242babf95a241d /pkgs/astal/src/shell.lua
parentunofficial-homestuck-collection: 2.6.6 -> 2.6.7 (diff)
downloaddotfiles-nix-424e62dc79793187c46a222acf2a3fd88b9a7bd4.tar.gz
dotfiles-nix-424e62dc79793187c46a222acf2a3fd88b9a7bd4.tar.bz2
dotfiles-nix-424e62dc79793187c46a222acf2a3fd88b9a7bd4.zip
new astal app launcher, refactor astal build fn
Diffstat (limited to 'pkgs/astal/src/shell.lua')
-rw-r--r--pkgs/astal/src/shell.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/astal/src/shell.lua b/pkgs/astal/src/shell.lua
new file mode 100644
index 0000000..c370349
--- /dev/null
+++ b/pkgs/astal/src/shell.lua
@@ -0,0 +1,18 @@
+local App = require("astal.gtk3.app")
+local lib = require("lib")
+
+local Bar = require("widget.bar")
+local Corners = require("widget.corners")
+local Deck = require("widget.deck")
+
+App:start({
+ instance_name = "shell",
+ css = lib.src("main.css"),
+ main = function()
+ for _, mon in pairs(App.monitors) do
+ Bar(mon)
+ Corners(mon)
+ Deck(mon)
+ end
+ end,
+})