awesomerc: add placement by default

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-21 17:19:54 +02:00
parent 88a6f06b21
commit 2cefa5e9b2
1 changed files with 5 additions and 0 deletions

View File

@ -358,6 +358,11 @@ client.add_signal("manage", function (c, startup)
-- Honor size hints: if you want to drop the gaps between windows, set this to false. -- Honor size hints: if you want to drop the gaps between windows, set this to false.
-- c.size_hints_honor = false -- c.size_hints_honor = false
-- Move new windows in free area.
awful.placement.no_overlap(c)
-- Be sure that new windows are not placed fully inside the screen area.
awful.placement.no_offscreen(c)
end) end)
client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)