awesomerc: enable smart placement by default
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
982a8e4c52
commit
3c63930a5d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue