From bbcdeb670ee168c958065c72853affc868fddc92 Mon Sep 17 00:00:00 2001 From: Ian Foster Date: Thu, 9 Jan 2014 18:13:38 -0800 Subject: [PATCH] termlayout has 4 quad option and added useless layouts --- awesome/awesome/darkburn/theme.lua | 3 ++- awesome/awesome/layouts/termfair.lua | 3 +++ awesome/awesome/rc.lua | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/awesome/awesome/darkburn/theme.lua b/awesome/awesome/darkburn/theme.lua index 617132f..d6fa86d 100644 --- a/awesome/awesome/darkburn/theme.lua +++ b/awesome/awesome/darkburn/theme.lua @@ -23,7 +23,7 @@ theme.bg_urgent = "#3F3F3F" -- }}} -- {{{ Borders -theme.useless_gap_width = 3 +theme.useless_gap_width = 2 theme.border_width = 0 theme.border_normal = "#3F3F3F" theme.border_focus = "#6F6F6F" @@ -99,6 +99,7 @@ theme.layout_floating = theme.themedir .. "layouts/floating.png" theme.layout_browse = theme.themedir .. "layouts/browse.png" theme.layout_termfair = theme.themedir .. "layouts/termfair.png" theme.layout_uselesstile = theme.themedir .. "layouts/tile.png" +theme.layout_uselesstilebottom = theme.themedir .. "layouts/tilebottom.png" theme.layout_fairh = theme.themedir .. "layouts/fairh.png" -- }}} diff --git a/awesome/awesome/layouts/termfair.lua b/awesome/awesome/layouts/termfair.lua index efce7d8..5a0d5bd 100644 --- a/awesome/awesome/layouts/termfair.lua +++ b/awesome/awesome/layouts/termfair.lua @@ -59,6 +59,9 @@ function arrange(p) if #cls < 4 then num_x = #cls + elseif #cls == 4 + then + num_x = 2 end diff --git a/awesome/awesome/rc.lua b/awesome/awesome/rc.lua index 53bb644..23bf8cf 100644 --- a/awesome/awesome/rc.lua +++ b/awesome/awesome/rc.lua @@ -30,8 +30,8 @@ require("xrandr") require("layouts/browse") require("layouts/termfair") ---require("layouts/uselessfair") ---require("layouts/uselesstile") +require("layouts/uselessfair") +require("layouts/uselesstile") --local keydoc = require("keydoc") @@ -129,7 +129,7 @@ layouts = awful.layout.suit.floating, vain.layout.browse, vain.layout.termfair, - vain.layout.uselesstile, + --vain.layout.uselesstile, vain.layout.uselessfair, --awful.layout.suit.magnifier, --awful.layout.suit.tile.left, -- 1.9.1