mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 05:14:22 +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 },
|
||||
{ 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
|
||||
|
|
12
rc/tags.lua
12
rc/tags.lua
|
@ -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",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue