tags: only browser window have to go in "www" tag. Ditto for "im".

Other kind of windows may go wherever they want.
This commit is contained in:
Vincent Bernat 2012-09-08 23:26:28 +02:00
parent 961719eadd
commit 45951e9dc1
2 changed files with 4 additions and 11 deletions

View file

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

View file

@ -37,20 +37,14 @@ shifty.config.tags = {
mwfact = 0.2,
exclusive = true,
icon = tagicon("im"),
nopopup = true
nopopup = true, -- don't give focus on creation
}
}
-- Also, see rules.lua
shifty.config.apps = {
{
match = {
"Iceweasel",
"Firefox",
"Chromium",
"Conkeror",
"Xulrunner-15.0"
},
match = { role = { "browser" } },
tag = "3↭www",
},
{
@ -58,7 +52,7 @@ shifty.config.apps = {
tag = "2↭emacs",
},
{
match = { "Pidgin" },
match = { role = { "conversation", "buddy_list" } },
tag = "4↭im",
},
{