Ion / FAQ / Entries / Rearranging workspaces
2007-11-07 07:28 UTC

Rearranging workspaces

How do I rearrange workspaces?

The mechanism is the same as that of rearranging client windows (or nested workspaces) within frames. While the latter operation is bound to Mod1+K comma/period, the former operation is not presently bound anywhere, as it is thought to be used quite seldom. Adding the following snippet in your cfg_ion.lua should provide the menu items.

defctxmenu("WScreen", "Screen", {
    menuentry("Move workspace right",   "WMPlex.inc_index(_, _sub)"),
    menuentry("Move workspace left",    "WMPlex.dec_index(_, _sub)"),
})

Alternatively, you may try simply entering something like local m=ioncore.find_manager(_, "WGroupWS"); m:manager():inc_index(m) in the Mod1+F3 Lua code query.