awesomerc: add placement by default
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
88a6f06b21
commit
2cefa5e9b2
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue