specify the screen properly
This commit is contained in:
parent
2e7c161f56
commit
aa516d5721
1
init.lua
1
init.lua
@ -19,6 +19,7 @@ systray:set_base_size(switcherpopup.systraySize)
|
|||||||
function switcherpopup.new(s)
|
function switcherpopup.new(s)
|
||||||
local popup = false
|
local popup = false
|
||||||
local tasklistWidget = wibox.widget{
|
local tasklistWidget = wibox.widget{
|
||||||
|
screen = s,
|
||||||
layout = wibox.layout.grid.vertical(math.floor(s.geometry.width / (switcherpopup.iconSize + switcherpopup.spacing)))
|
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")
|
local clock = wibox.container.place(wibox.widget.textclock("%H:%M %Y-%m-%d"), "center", "center")
|
||||||
|
Loading…
Reference in New Issue
Block a user