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:
Vincent Bernat 2012-07-10 23:27:44 +02:00
parent 55b8659fd9
commit 3aef0ba974
2 changed files with 8 additions and 3 deletions

View file

@ -22,9 +22,13 @@ awful.rules.rules = {
properties = { floating = true }}, -- Flash with Firefox
{ rule = { instance = "exe", class="Exe", instance="exe" },
properties = { floating = true }}, -- Flash with Chromium
-- Other stuff
-- Pidgin
{ rule = { class = "Pidgin" },
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" },
properties = { }, callback = awful.client.setslave },
}