mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 13:24:21 +02:00
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:
parent
961719eadd
commit
45951e9dc1
2 changed files with 4 additions and 11 deletions
|
@ -20,8 +20,7 @@ awful.rules.rules = {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end },
|
end },
|
||||||
{ rule_any = { class = { "Iceweasel", "Firefox", "Chromium", "Conkeror",
|
{ rule_any = { class = { "Iceweasel", "Firefox", "Chromium", "Conkeror" } },
|
||||||
"Xulrunner-15.0" } },
|
|
||||||
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
|
||||||
|
|
12
rc/tags.lua
12
rc/tags.lua
|
@ -37,20 +37,14 @@ shifty.config.tags = {
|
||||||
mwfact = 0.2,
|
mwfact = 0.2,
|
||||||
exclusive = true,
|
exclusive = true,
|
||||||
icon = tagicon("im"),
|
icon = tagicon("im"),
|
||||||
nopopup = true
|
nopopup = true, -- don't give focus on creation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Also, see rules.lua
|
-- Also, see rules.lua
|
||||||
shifty.config.apps = {
|
shifty.config.apps = {
|
||||||
{
|
{
|
||||||
match = {
|
match = { role = { "browser" } },
|
||||||
"Iceweasel",
|
|
||||||
"Firefox",
|
|
||||||
"Chromium",
|
|
||||||
"Conkeror",
|
|
||||||
"Xulrunner-15.0"
|
|
||||||
},
|
|
||||||
tag = "3↭www",
|
tag = "3↭www",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -58,7 +52,7 @@ shifty.config.apps = {
|
||||||
tag = "2↭emacs",
|
tag = "2↭emacs",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match = { "Pidgin" },
|
match = { role = { "conversation", "buddy_list" } },
|
||||||
tag = "4↭im",
|
tag = "4↭im",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue