Send client to another workspace.

Jan Johansson <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Hello.

I am trying to create a keybinding that will send the current client to
a named workspace.

In the scripts collection there is a "send_to_ws.lua" but it uses a
WMPlex.lnth() method that does not exist in 3rc-20070720 and I can't
find when it dissapeard or what it was renamed to.

The best result I got was with

defbindings("WMPlex",
    {
	submap(PREFIX,
	    {
		kpress("H", "WGroup.attach(ioncore.lookup_region('Hidden'), _sub)"),
	    }
	),
    }
)

where Hidden is the name of a "WGroupWS". I also tried looking in the
saved_layout.lua file and tried all the names there (like WGroupCW<1>)
but even though the client is sent it never attaches cleanly in the
frame.

As I don't quite understand the object model in ion/lua I am certain I
am doing some simple error but what?

Jan J
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.