summaryrefslogtreecommitdiff
path: root/pkgs/astal/src/launcher.lua
blob: 3c3994ec37e1f1b885b5a817df055e0b71e253c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()
		for _, mon in pairs(App.monitors) do
			if mon.is_primary then
				Launcher(mon)
			end
		end
	end,
})