On Sat, 9 Jan 2010, Carlos Pita wrote:

Sorry, I messed up the names, I meant max layout.

Add this to the bottom of your awesome 3.4.x rc.lua, it will get you started:


-- {{{ Arrange signal handler
for s = 1, screen.count() do screen[s]:add_signal("arrange", function ()
    local clients = awful.client.visible(s)
    local layout = awful.layout.getname(awful.layout.get(s))

    for _, c in pairs(clients) do
        if #clients == 1 or layout == "max" then
            c.border_width = 0
        else
            c.border_width = beautiful.border_width
        end
    end
  end)
end
-- }}}


--
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618


--
To unsubscribe, send mail to [email protected].

Reply via email to