mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +02:00
rules: ensure pidgin buddy list does not take half of the screen
See: http://stackoverflow.com/questions/5120399/setting-windows-layout-for-a-specific-application-in-awesome-wm
This commit is contained in:
parent
55b8659fd9
commit
3aef0ba974
2 changed files with 8 additions and 3 deletions
|
@ -22,9 +22,13 @@ awful.rules.rules = {
|
||||||
properties = { floating = true }}, -- Flash with Firefox
|
properties = { floating = true }}, -- Flash with Firefox
|
||||||
{ rule = { instance = "exe", class="Exe", instance="exe" },
|
{ rule = { instance = "exe", class="Exe", instance="exe" },
|
||||||
properties = { floating = true }}, -- Flash with Chromium
|
properties = { floating = true }}, -- Flash with Chromium
|
||||||
-- Other stuff
|
-- Pidgin
|
||||||
{ rule = { class = "Pidgin" },
|
{ rule = { class = "Pidgin" },
|
||||||
properties = { tag = config.tags.im }},
|
properties = { tag = config.tags.im }},
|
||||||
|
{ rule = { class = "Pidgin" },
|
||||||
|
except = { role = "buddy_list" }, -- buddy_list is the master
|
||||||
|
properties = { }, callback = awful.client.setslave },
|
||||||
|
-- Other stuff
|
||||||
{ rule = { class = "URxvt" },
|
{ rule = { class = "URxvt" },
|
||||||
properties = { }, callback = awful.client.setslave },
|
properties = { }, callback = awful.client.setslave },
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,5 +72,6 @@ for i = 1, #tags do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
awful.tag.setproperty(config.tags.emacs, "mwfact", 0.6) -- emacs
|
awful.tag.setproperty(config.tags.emacs, "mwfact", 0.6)
|
||||||
awful.tag.setproperty(config.tags.www, "mwfact", 0.7) -- www
|
awful.tag.setproperty(config.tags.www, "mwfact", 0.7)
|
||||||
|
awful.tag.setproperty(config.tags.im, "mwfact", 0.2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue