summaryrefslogtreecommitdiff
path: root/pkgs/astal/src/widget/deck/init.lua
blob: 0df5bb49f764a2b7439bd86751f1ecd8886122cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local astal = require("astal")
local Widget = require("astal.gtk3.widget")

local Notifications = require("widget.deck.notifications")

return function(gdkmonitor)
	local Anchor = astal.require('Astal').WindowAnchor

	return Widget.Window({
		class_name = "deck",
		gdkmonitor = gdkmonitor,
		anchor = Anchor.TOP + Anchor.RIGHT,
		Widget.Box({
			vertical = true,
			Notifications(),
		}),
	})
end