--- rc.lua	2010-05-18 23:04:33.000000000 -0300
+++ /etc/xdg/awesome/rc.lua	2010-01-19 11:24:38.000000000 -0200
@@ -1,25 +1,3 @@
-
--- Copyright (C) 2010 Arthur Furlan <afurlan@afurlan.org>
--- 
--- This program is free software; you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation; either version 2 of the License, or
--- (at your option) any later version.
--- 
--- On Debian systems, you can find the full text of the license in
--- /usr/share/common-licenses/GPL-
-
--- This is the awesome configuration file. It's based on the default
--- configuration of awesome in Debian (/etc/xdg/awesome) and have some
--- few modifications made by Arthur Furlan. I'll try to point all the
--- changes below:
---
--- Line 71: changed "layouts[1]" to "layouts[3]"
--- Line 225: commented out (replaced by the key binding below)
--- Line 226: added the key binding "modkey + l" to lock screen
--- Lines 324-342: added some custom rules
-
-
 -- Standard awesome library
 require("awful")
 require("awful.autofocus")
@@ -71,7 +49,7 @@
 tags = {}
 for s = 1, screen.count() do
     -- Each screen has its own tag table.
-    tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[2])
+    tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
 end
 -- }}}
 
@@ -223,8 +201,7 @@
     awful.key({ modkey, "Control" }, "r", awesome.restart),
     awful.key({ modkey, "Shift"   }, "q", awesome.quit),
 
-    -- awful.key({ modkey,           }, "l",     function () awful.tag.incmwfact( 0.05)    end),
-    awful.key({ modkey,           }, "l",     function () awful.util.spawn('xscreensaver-command -activate') end),
+    awful.key({ modkey,           }, "l",     function () awful.tag.incmwfact( 0.05)    end),
     awful.key({ modkey,           }, "h",     function () awful.tag.incmwfact(-0.05)    end),
     awful.key({ modkey, "Shift"   }, "h",     function () awful.tag.incnmaster( 1)      end),
     awful.key({ modkey, "Shift"   }, "l",     function () awful.tag.incnmaster(-1)      end),
@@ -323,26 +300,9 @@
       properties = { floating = true } },
     { rule = { class = "gimp" },
       properties = { floating = true } },
-
-    -- Custom rules
-    { rule = { class = "Xterm" },
-      properties = { tag = tags[1][1] } },
-    { rule = { class = "Iceweasel" },
-      properties = { tag = tags[1][2] } },
-    { rule = { class = "Google-chrome" },
-      properties = { tag = tags[1][2] } },
-    { rule = { class = "Ekiga" },
-      properties = { tag = tags[1][3], floating = true } },
-    { rule = { class = "Pidgin" },
-      properties = { tag = tags[1][3] } },
-    { rule = { class = "Xchat" },
-      properties = { tag = tags[1][3] } },
-    { rule = { class = "Tomboy" },
-      properties = { tag = tags[1][4] } },
-    { rule = { class = "Claws-mail" },
-      properties = { tag = tags[1][5] } },
-    { rule = { class = "Virt-manager.py" },
-      properties = { tag = tags[1][6] } },
+    -- Set Firefox to always map on tags number 2 of screen 1.
+    -- { rule = { class = "Firefox" },
+    --   properties = { tag = tags[1][2] } },
 }
 -- }}}
 
