On Sun, Jun 08, 2003 at 11:12:20PM +0200, Moe Wibble wrote:
> 1. how can i bind "create a new FloatWS" to a key?
> (what func is it, where to put the bind?)
The following (with "whatever" replaced with something appropriate)
should work, although I haven't tried it. The workspace won't have
a name.
global_bindings{
kpress("whatever", function(scr)
region_manage_new(scr, {type="WFloatWS"})
end)
}
> 2. what func do i use to destroy a FloatWS?
> make_active_leaf_fn(region_close) seems not to work.
floatws_destroy, IIRC. region_close is not implemented by workspaces.
> 3. can i have a FloatWS in a frame (hope i used the correct term)?
Yes. You create it with region_manage_new as above but with 'scr' replaced
by the frame where you want it. In the Mod1+F3 query, the line
region_manage_new(_, {type="WFloatWS"})
should do it. Although there is no query like Mod1+A for it, you can
also manually attach previously created workspaces to frames with
something like (again, in the Mod1+F3 query where _ points to the frame):
region_manage(_, lookup_region("whatever"))
If you have gotten reference to the region to be attached otherwise,
replace the lookup with that reference.
> 4. whats the status of ion-dock and other utilities? :)
I don't know.
--
Tuomo