£ukasz
2011-01-03 18:24:19 UTC
Hi ,
its me again :). Let say that i tagged few windows on some workspaces, i moved to another one and i want all tagged windows moved here. Simple function which do it is
local function tagged_move(group)
local region=WMPlex.attach_new(group,{type="WGroupWS",name="name",...})
ioncore.tagged_attach(region)
end
it works ok when destination ws is empty, problems appears when its not. I think the nice way to do it woild be by using 'ioncore.tagged_first(true)' or 'ioncore.tagged_i()' but first one some how doesnt want to return tagged region. Im sure that there is some extremely simple solution for it so if somebody knows it pls help.
My second question is if it's possible to rearange WS and how to do it?. Till now i havent had enough time to think about it but it wold be nice possibility
Best Regards
Lukas
its me again :). Let say that i tagged few windows on some workspaces, i moved to another one and i want all tagged windows moved here. Simple function which do it is
local function tagged_move(group)
local region=WMPlex.attach_new(group,{type="WGroupWS",name="name",...})
ioncore.tagged_attach(region)
end
it works ok when destination ws is empty, problems appears when its not. I think the nice way to do it woild be by using 'ioncore.tagged_first(true)' or 'ioncore.tagged_i()' but first one some how doesnt want to return tagged region. Im sure that there is some extremely simple solution for it so if somebody knows it pls help.
My second question is if it's possible to rearange WS and how to do it?. Till now i havent had enough time to think about it but it wold be nice possibility
Best Regards
Lukas