For what it's worth, here's a way to have only transients (and
explicitly winproped windows) go to layer 2 using detach.lua.  It
explicitly attaches non-transient & non-float (and non-dock) windows to
layer1.

I'm not entirely happy with it, so I'm open to suggestions on how better
to do this.  For one thing, it breaks the auto-assignment of windows if
you're using panews.  I've considered simply hiding level2, thereby
forcing the window into level1, but I'm not entirely happy with that
either.

function clientwin_manager(cwin, table)
   if detach.manager(cwin, table) then
      return true
   elseif not table.dockapp then
      detach.float_to_layer1(cwin)
      return true
   end
   return false
end
      
-- 
Jeremy Hankins <[EMAIL PROTECTED]>
PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03

Reply via email to