You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
561 B
14 lines
561 B
-- For those rare occasions when you want to group widgets in a panel
|
|
local awmtk2 = require("awmtk2")
|
|
local wibox = require("wibox")
|
|
local gears = require("gears")
|
|
local awful = require("awful")
|
|
local beautiful = require("beautiful")
|
|
|
|
return function(args)
|
|
local style = awmtk2.create_style("subpanel",awmtk2.default,args.style)
|
|
local templates = awmtk2.create_template_lib("subpanel",awmtk2.templates,args.templates)
|
|
local t = awmtk2.build_templates(templates,style)
|
|
local widget = wibox.widget(t.container(args.layout))
|
|
return widget
|
|
end
|