http://git.sysphere.org/awesome-configs/tree/rc.lua#n551
-- {{{ Arrange signal handler
for s = 1, scount do screen[s]:add_signal("arrange", function ()
local clients = awful.client.visible(s)
local layout = awful.layout.getname(awful.layout.get(s))
for _, c in pairs(clients) do -- Floaters are always on top
if awful.client.floating.get(c) or layout == "floating"
then if not c.fullscreen then c.above = true end
else c.above = false end
end
end)
end
-- }}}
--
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618
--
To unsubscribe, send mail to [email protected].