awesomerc: enable smart placement
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9c21ce8907
commit
36d9178917
|
@ -310,9 +310,15 @@ client.add_signal("manage", function (c, startup)
|
|||
end
|
||||
end)
|
||||
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
-- awful.client.setslave(c)
|
||||
if not startup then
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
-- awful.client.setslave(c)
|
||||
|
||||
-- Put windows in a smart way.
|
||||
awful.placement.no_overlap(c)
|
||||
awful.placement.no_offscreen(c)
|
||||
end
|
||||
end)
|
||||
|
||||
client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||
|
|
Loading…
Reference in New Issue