aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-09-14 01:02:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-09-14 01:02:43 +1200
commit8c928f56c8a4febf3e94c89d7177134905a6bb7f (patch)
treef5ca1001f0064aa6fa50bc0c8fc565955f1dab88 /awesome
parentUse maximised but not fullscreen tags (diff)
downloaddotfiles-8c928f56c8a4febf3e94c89d7177134905a6bb7f.tar.gz
dotfiles-8c928f56c8a4febf3e94c89d7177134905a6bb7f.zip
No window borders at all
Diffstat (limited to 'awesome')
-rw-r--r--awesome/rc.lua21
1 files changed, 2 insertions, 19 deletions
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
-