Hello, I needed to set a given application's new windows as slaves, the same way it is done for auto-floating or tagging. For instance, an instant messenging application's new chat windows can be set as slaves, keeping the roster window as the master (alone in a small width master column).
So here is the tiny configuration to do it with awesome 3.2.1, if it can be useful. Regards, -- Tanguy Ortolo
--- /etc/xdg/awesome/rc.lua 2009-02-27 10:54:56.000000000 +0100 +++ rc.lua.default 2009-08-17 11:12:38.000000000 +0200 @@ -59,6 +59,12 @@ ["mocp"] = true } +-- Applications to be put as slave, at the end of the windows list. +slaveapps = +{ + ["Gajim.py"] = true +} + -- Applications to be moved to a pre-defined tag by class or instance. -- Use the screen and tags indices. apptags = @@ -388,6 +394,11 @@ awful.client.floating.set(c, floatapps[inst]) end + -- Check if the application should be set as slave. + if slaveapps[cls] or slaveapps[inst] then + awful.client.setslave(c) + end + -- Check application->screen/tag mappings. local target if apptags[cls] then