awesomerc: enable smart placement by default

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-26 17:31:52 +02:00
parent 982a8e4c52
commit 3c63930a5d
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,8 @@ end
-- Hook function to execute when a new client appears.
function hook_manage(c)
-- Set floating placement to be smart!
c.floating_placement = "smart"
-- Add mouse bindings
c:mouse_add(mouse({ }, 1, function (c) c:focus_set(); c:raise() end))
c:mouse_add(mouse({ modkey }, 1, function (c) c:mouse_move() end))