lazy push before updates
This commit is contained in:
17
statusbar/top/statusbar.lua
Normal file
17
statusbar/top/statusbar.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
local awful = require("awful")
|
||||
local wibox = require("wibox")
|
||||
|
||||
local widgets = require("statusbar.top.widgets")
|
||||
|
||||
return function(s)
|
||||
-- Create the wibox
|
||||
s.top_wibox = awful.wibar({ position = "top", screen = s })
|
||||
|
||||
-- Add widgets to the wibox
|
||||
s.top_wibox:setup({
|
||||
layout = wibox.layout.align.horizontal,
|
||||
nil,
|
||||
s.tasklist, -- Middle widget
|
||||
widgets(s), -- Right widgets
|
||||
})
|
||||
end
|
||||
Reference in New Issue
Block a user