Add focus on new for clients
This commit is contained in:
parent
a45477984c
commit
b5a1221fb0
4
init.lua
4
init.lua
|
@ -82,6 +82,10 @@ local function match_client(c, startup)
|
|||
if rules.properties.centered == true then
|
||||
awful.placement.centered(c, nil)
|
||||
end
|
||||
--Focus new client
|
||||
if rules.properties.focus_on_new == true then
|
||||
c.focus = true
|
||||
end
|
||||
--Set other properties
|
||||
for k,v in pairs(rules.properties) do
|
||||
c[k] = v
|
||||
|
|
Loading…
Reference in New Issue