rules: add Google Chrome as one possible browser

This commit is contained in:
Vincent Bernat 2013-04-15 16:42:19 +02:00
parent 1d55bdfe57
commit 0403154128

View file

@ -21,7 +21,7 @@ awful.rules.rules = {
end end
end end
end }, end },
{ rule_any = { class = { "Iceweasel", "Firefox", "Chromium", "Conkeror" } }, { rule_any = { class = { "Iceweasel", "Firefox", "Chromium", "Conkeror", "Google-chrome" } },
callback = function(c) callback = function(c)
-- All windows should be slaves, except the browser windows. -- All windows should be slaves, except the browser windows.
if c.role ~= "browser" then awful.client.setslave(c) end if c.role ~= "browser" then awful.client.setslave(c) end