diff --git a/awesome/awesome/darkburn/theme.lua b/awesome/awesome/darkburn/theme.lua index 020ad4a..f27318b 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 = 5 +theme.useless_gap_width = 3 theme.border_width = 0 theme.border_normal = "#3F3F3F" theme.border_focus = "#6F6F6F" diff --git a/awesome/awesome/layouts/browse.lua b/awesome/awesome/layouts/browse.lua index b92765d..d00fc54 100644 --- a/awesome/awesome/layouts/browse.lua +++ b/awesome/awesome/layouts/browse.lua @@ -8,7 +8,8 @@ local math = math module("vain.layout.browse") extra_padding = 0 - +mwfact_global = 0.5 +ncol = 1 name = "browse" function arrange(p) @@ -39,11 +40,13 @@ function arrange(p) local cls = p.clients -- Width of main column? - local t = awful.tag.selected(p.screen) - local mwfact = awful.tag.getmwfact(t) + --local t = awful.tag.selected(p.screen) + --local mwfact = awful.tag.getmwfact(t) + local mwfact = mwfact_global -- Make slave windows overlap main window? Do this if ncol is 1. - local overlap_main = awful.tag.getncol(t) + --local overlap_main = awful.tag.getncol(t) + local overlap_main = ncol if #cls > 0 then diff --git a/awesome/awesome/layouts/termfair.lua b/awesome/awesome/layouts/termfair.lua index 296997b..32ab11a 100644 --- a/awesome/awesome/layouts/termfair.lua +++ b/awesome/awesome/layouts/termfair.lua @@ -6,6 +6,9 @@ local tonumber = tonumber module("vain.layout.termfair") +nmaster = 3 +ncol = 2 + name = "termfair" function arrange(p) diff --git a/awesome/awesome/rc.lua b/awesome/awesome/rc.lua index f7d9fff..dfeff20 100644 --- a/awesome/awesome/rc.lua +++ b/awesome/awesome/rc.lua @@ -58,6 +58,23 @@ modkey = "Mod4" -------------------------------------- +---- Layout Settings ---- +-------------------------------------- + +-- number of columns +vain.layout.termfair.nmaster = 3 +-- min number of rows (yes the var-name is backwards) +vain.layout.termfair.ncol = 1 + +-- percent of space for main window +vain.layout.browse.mwfact_global = 0.6 +-- 0 for non-overlapping, 1 for ovelapping +vain.layout.browse.ncol = 1 +-- reduces the size of the main window if "overlapping slave column" is activated. +-- This allows you to see if there are any windows in your slave column. +vain.layout.browse.extra_padding = 5 + +-------------------------------------- ---- Plugin Settings ---- -------------------------------------- @@ -136,7 +153,10 @@ for s = 1, screen.count() do tags[s] = awful.tag(tags.names, s, tags.layout) end -- }}} - +-- +--awful.layout.set(vain.layout.termfair, tags[1][2]) +--awful.tag.setnmaster(3, tags[1][2]) +--awful.tag.setncol(1, tags[1][2]) -------------------------------------- ---- Menu ---- @@ -530,9 +550,6 @@ awful.rules.rules = { size_hints = {"program_position", "program_size"} } } - -- Set Firefox to always map on tags number 2 of screen 1. - -- { rule = { class = "Firefox" }, - -- properties = { tag = tags[1][2] } }, } -- }}}