From 3c63930a5dccd6ef55de527b52c5041c1f464931 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 26 Jul 2008 17:31:52 +0200 Subject: [PATCH] awesomerc: enable smart placement by default Signed-off-by: Julien Danjou --- awesomerc.lua.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index ee868d444..059e84e51 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -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))