specify the screen properly

This commit is contained in:
Izaya 2022-03-04 09:56:30 +11:00
parent 2e7c161f56
commit aa516d5721
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ systray:set_base_size(switcherpopup.systraySize)
function switcherpopup.new(s)
local popup = false
local tasklistWidget = wibox.widget{
screen = s,
layout = wibox.layout.grid.vertical(math.floor(s.geometry.width / (switcherpopup.iconSize + switcherpopup.spacing)))
}
local clock = wibox.container.place(wibox.widget.textclock("%H:%M %Y-%m-%d"), "center", "center")