From 365e80c5bb948d41048ac512470645bb0c392fd5 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 21 Dec 2009 09:18:51 +0100 Subject: [PATCH] Make it easier to change the default layout In older versions of awesome, the first entry in the layouts table was the default layout. Currently it's always the floating layout. With this patch the default is again the first entry in the layouts table. At the same time, floating is moved to be the first entry, so this patch doesn't change any behavior at all. Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- awesomerc.lua.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 4b582d5c..0c59522a 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -26,6 +26,7 @@ modkey = "Mod4" -- Table of layouts to cover with awful.layout.inc, order matters. layouts = { + awful.layout.suit.floating, awful.layout.suit.tile, awful.layout.suit.tile.left, awful.layout.suit.tile.bottom, @@ -36,8 +37,7 @@ layouts = awful.layout.suit.spiral.dwindle, awful.layout.suit.max, awful.layout.suit.max.fullscreen, - awful.layout.suit.magnifier, - awful.layout.suit.floating + awful.layout.suit.magnifier } -- }}} @@ -46,7 +46,7 @@ layouts = tags = {} for s = 1, screen.count() do -- Each screen has its own tag table. - tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s) + tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1]) end -- }}} -- 2.11.4.GIT