From 8c928f56c8a4febf3e94c89d7177134905a6bb7f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 14 Sep 2012 01:02:43 +1200 Subject: No window borders at all --- awesome/rc.lua | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 078877c3..e93f5b8d 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -313,9 +313,8 @@ root.keys(globalkeys) -- Rules for new windows awful.rules.rules = { { rule = { }, - properties = { border_width = beautiful.border_width, - border_color = beautiful.border_normal, - focus = true, size_hints_honor = false, + properties = { focus = true, + size_hints_honor = false, keys = clientkeys, buttons = clientbuttons } }, { rule = { class = "URxvt" }, @@ -347,19 +346,3 @@ client.add_signal("manage", function (c, startup) end end) --- Prevent borders on fullscreen or one-window tags -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)) - if #clients > 0 then - for _, c in pairs(clients) do - if #clients == 1 then - clients[1].border_width = 0 - else - clients[1].border_width = beautiful.border_width - end - end - end - end) -end - -- cgit v1.2.3