mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +02:00
rules: non browser windows should be slave
This includes the developer tools pane. Also, we rely on the class name instead of the window name (which may change).
This commit is contained in:
parent
a2451c2a04
commit
12c3e37fbc
1 changed files with 6 additions and 2 deletions
|
@ -12,8 +12,12 @@ awful.rules.rules = {
|
|||
{ rule = { class = "Emacs" },
|
||||
properties = { tag = config.tags.emacs }},
|
||||
-- Browser stuff
|
||||
{ rule_any = { name = { "Iceweasel", "Firefox", "Chromium" } },
|
||||
properties = { tag = config.tags.www }},
|
||||
{ rule_any = { class = { "Iceweasel", "Firefox", "Chromium" } },
|
||||
properties = { tag = config.tags.www },
|
||||
callback = function(c)
|
||||
-- All windows should be slaves, except the browser windows.
|
||||
if c.role ~= "browser" then awful.client.setslave(c) end
|
||||
end },
|
||||
{ rule = { instance = "plugin-container" },
|
||||
properties = { floating = true }}, -- Flash with Firefox
|
||||
{ rule = { instance = "exe", class="Exe", instance="exe" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue