summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-22 20:27:33 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-22 20:27:33 +0100
commit6ea78987106a37443ab21e144955608fe41dc4ba (patch)
tree0ec545f31a619c44ca3c11627b569f4b73f661ea
parent0f158ed9dc5f056720e0477d2bf7b0389b18a3c7 (diff)
downloadawesome-configs-6ea78987106a37443ab21e144955608fe41dc4ba.tar.xz
rc.lua: simplified tag setup
-rw-r--r--rc.lua22
1 files changed, 9 insertions, 13 deletions
diff --git a/rc.lua b/rc.lua
index 47045cc..1d45e8b 100644
--- a/rc.lua
+++ b/rc.lua
@@ -49,13 +49,9 @@ layouts = {
-- {{{ Tags
tags = {
- names = { "term", "emacs", "web", "mail",
- "im", "float", "float", "rss", "media",
- },
- layout = {
- layouts[3], layouts[1], layouts[1],
- layouts[5], layouts[1], layouts[7],
- layouts[7], layouts[6], layouts[7],
+ names = { "term", "emacs", "web", "mail", "im", "float", "float", "rss", "media" },
+ layout = { layouts[3], layouts[1], layouts[1], layouts[5], layouts[1], layouts[7],
+ layouts[7], layouts[6], layouts[7], -- Tags: 1, 2, 3, 4, 5, 6, 7, 8, 9
}}
for s = 1, screen.count() do
@@ -559,6 +555,9 @@ client.add_signal("manage", function (c, startup)
end
end)
+ -- Honor size hints
+ c.size_hints_honor = false
+
-- Client placement
if not startup then
awful.client.setslave(c)
@@ -568,13 +567,10 @@ client.add_signal("manage", function (c, startup)
awful.placement.no_overlap(c)
awful.placement.no_offscreen(c)
end
- end
- -- Honor size hints
- c.size_hints_honor = false
-
- -- Fix for pre_manage rules patch
- client.focus = c
+ -- Fix for pre_manage rules patch
+ client.focus = c
+ end
end)
-- }}}