awesome rc updates for chromium
authorPierre Habouzit <madcoder@debian.org>
Thu, 15 Sep 2011 19:39:14 +0000 (21:39 +0200)
committerPierre Habouzit <madcoder@debian.org>
Thu, 15 Sep 2011 19:39:14 +0000 (21:39 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
config/awesome/rc.lua

index 2bcc47f..9ecd62f 100644 (file)
@@ -340,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
@@ -402,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),