Files
AwesomeWM-Config/statusbar/bottom/statusbar.lua
2025-12-30 13:23:54 -07:00

18 lines
392 B
Lua

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