rc.lua: Use `.widget =` instead of `:setup()`.
More work on the property vs. r/w methods standardization.
This commit is contained in:
parent
48ac59c0b6
commit
f4a0e1fc39
|
@ -197,7 +197,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
-- @DOC_SETUP_WIDGETS@
|
-- @DOC_SETUP_WIDGETS@
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
s.mywibox:setup {
|
s.mywibox.widget = {
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
{ -- Left widgets
|
{ -- Left widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
@ -543,7 +543,7 @@ client.connect_signal("request::titlebars", function(c)
|
||||||
end),
|
end),
|
||||||
}
|
}
|
||||||
|
|
||||||
awful.titlebar(c) : setup {
|
awful.titlebar(c).widget = {
|
||||||
{ -- Left
|
{ -- Left
|
||||||
awful.titlebar.widget.iconwidget(c),
|
awful.titlebar.widget.iconwidget(c),
|
||||||
buttons = buttons,
|
buttons = buttons,
|
||||||
|
|
Loading…
Reference in New Issue