removed files
[~madcoder/dotfiles.git] / config / awesome / rc.lua
index 28ee976..9ecd62f 100644 (file)
@@ -9,6 +9,7 @@ require("vicious")
 
 terminal = "urxvtcd"
 lock     = 'xscreensaver-command -lock'
+lock     = 'gnome-screensaver-command --lock'
 beautiful.init(awful.util.getdir("config").."/theme")
 
 -- {{{ Modkeys
@@ -339,7 +340,7 @@ for s = 1, screen.count() do
         },
     }
 
-    if (s == 1) then
+    if s == 1 then
         table.insert(tab, widget{ type = 'systray' })
     end
     for i = #mywidgets, 1, -1 do
@@ -401,7 +402,7 @@ globalkeys = awful.util.table.join(
     end),
 
     -- Mod+Enter: Launch a new terminal
-    awful.key(k_m,  "e",      function() awful.util.spawn("chromium-browser") end),
+    awful.key(k_m,  "e",      function() awful.util.spawn("chromium") end),
     awful.key(k_m,  "Return", function() awful.util.spawn(terminal) end),
     awful.key(k_ac, "r", awesome.restart),
     awful.key(k_m, "F12", function() awful.util.spawn(lock) end),
@@ -465,7 +466,7 @@ local clientkeys = awful.util.table.join(
         if mypromptbox.widget.text then
             mypromptbox.widget.text = ""
         else
-            mypromptbox.widget.text = "Class: " .. c.class .. " Instance: ".. c.instance
+            mypromptbox.widget.text = "Class: " .. c.class .. " Instance: ".. c.instance .. " Name: " .. c.name
         end
     end),
 
@@ -502,9 +503,8 @@ awful.rules.rules = {
     },
     { rule = { class = "MPlayer" },  properties = { floating = true } },
     { rule = { class = "pinentry" }, properties = { floating = true } },
-    -- Set Firefox to always map on tags number 2 of screen 1.
-    -- { rule = { class = "Firefox" },
-    --   properties = { tag = tags[1][2] } },
+    { rule = { class = "Claws-mail", name = "[no subject] - Compose message" },
+      properties = { maximized_vertical = true, floating = true, x = 0 } },
 }
 
 -- }}}