diff --git a/core/layout.lua b/core/layout.lua index 8dbe5b0..b9485a3 100644 --- a/core/layout.lua +++ b/core/layout.lua @@ -54,6 +54,7 @@ awful.screen.connect_for_each_screen(function(s) }) -- Add screen lock require("widgets.lock")({screen = s, obscure = true}) + require("widgets.dismal")({}) require("widgets.unitybar")(s,{ top_widgets = { require("widgets.polytasklist")({ diff --git a/widgets/dismal.lua b/widgets/dismal.lua index f785acb..3d69b60 100644 --- a/widgets/dismal.lua +++ b/widgets/dismal.lua @@ -6,7 +6,7 @@ local awful = require("awful") return function(args) local style = awmtk2.create_style("dismal",awmtk2.default,args.style) local launchpad = awful.popup({ - { + widget = { { { { @@ -24,11 +24,11 @@ return function(args) visible = false, ontop = true }) - root.keys = gears.table.join( + root.keys(gears.table.join( root.keys(), awful.key({ global.modkey }, "0", function() launchpad.visible = not launchpad.visible end) - ) + )) return launchpad end