From f4a0e1fc391e102b4fd63d50b34f769b63dfda76 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Wed, 26 Dec 2018 23:33:05 -0500 Subject: [PATCH] rc.lua: Use `.widget =` instead of `:setup()`. More work on the property vs. r/w methods standardization. --- awesomerc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awesomerc.lua b/awesomerc.lua index 4b0ad9b61..f7bc68c1e 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -197,7 +197,7 @@ screen.connect_signal("request::desktop_decoration", function(s) -- @DOC_SETUP_WIDGETS@ -- Add widgets to the wibox - s.mywibox:setup { + s.mywibox.widget = { layout = wibox.layout.align.horizontal, { -- Left widgets layout = wibox.layout.fixed.horizontal, @@ -543,7 +543,7 @@ client.connect_signal("request::titlebars", function(c) end), } - awful.titlebar(c) : setup { + awful.titlebar(c).widget = { { -- Left awful.titlebar.widget.iconwidget(c), buttons = buttons,