diff --git a/rules.lua b/rules.lua index 8896600..feb92a9 100644 --- a/rules.lua +++ b/rules.lua @@ -62,6 +62,10 @@ awful.rules.rules = { -- c:connect_signal("unfocus", function() client.focus = c end) -- end --}, + { + rule = { class = "Onboard" }, + properties = { sticky = true, ontop = true, focusable = false} + }, { rule = { class = "Passprompt" }, properties = { ontop = true, focus = true} diff --git a/separable/binder.lua b/separable/binder.lua index 94a5ee9..b9f4de9 100644 --- a/separable/binder.lua +++ b/separable/binder.lua @@ -159,9 +159,14 @@ root.buttons(awful.util.table.join( )) local clientbuttons = awful.util.table.join( -awful.button({ }, 1, function (c) client.focus = c; c:raise() end), -awful.button({ modkey }, 1, awful.mouse.client.move), -awful.button({ modkey }, 3, awful.mouse.client.resize)) + awful.button({ }, 1, function (c) + if c.name ~= "Onboard" then + client.focus = c + c:raise() + end + end), + awful.button({ modkey }, 1, awful.mouse.client.move), + awful.button({ modkey }, 3, awful.mouse.client.resize)) binder.client = {}