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